Skip to main content

auth_command

Function auth_command 

Source
pub async fn auth_command() -> Result<()>
Expand description

smugmug-cli auth: obtain a new access token through the browser and store it. Uses the API key/secret from the existing config, else from the environment/.env, else prompts. Creates the config if missing.