To log out of the OnePub CLI on all your devices, run the logout command from any device.

onepub logout

If you log out from any of your devices then you will be logged out from all of your devices.

If you have previously logged into multiple devices then to regain access an any given device, you will need to run onepub login on that device.

If your device gets stolen you can simply run onepub logout from any device or the onepub.dev website; go to the Member page and click the Logout CLI action.

Note: logging out of a stolen device still leaves the .pub-cache on the device so a thief will still have access to all source code in your cache.

Last updated