myco auth
Authentication commands.
myco auth login
Authenticate with Myco. Opens your browser for sign-in.
myco auth loginArguments: None
Flags: None
Behavior:
- Starts a local HTTP server to receive the callback
- Opens your browser to the Myco sign-in page
- After sign-in, saves your API key to your shell profile (
~/.zshrcor~/.bashrc) - Sets the
MYCO_API_KEYenvironment variable
myco auth logout
Remove stored credentials.
myco auth logoutArguments: None
Flags: None
Behavior: Removes the MYCO_API_KEY export line from your shell profile.