OAuth2 authentication/authorization
OAuth2 authentication/authorization
madonctl oauth2 [flags]
madonctl oauth2 # Interactive OAuth2 login
madonctl oauth2 get-url # Display OAuth2 auhtorization URL
madonctl oauth2 code CODE # Enter OAuth2 code
madonctl oauth2 > config.yaml # Redirect to configuration file
-h, --help help for oauth2
--color string Color mode (auto|on|off; for output=template)
--config string config file (default is $HOME/.config/madonctl/madonctl.yaml)
-i, --instance string Mastodon instance
-L, --login string Instance user login
-o, --output string Output format (plain|json|yaml|template|theme)
-P, --password string Instance user password
--template string Go template (for output=template)
--template-file string Go template file (for output=template)
--theme string Theme name (for output=theme)
-t, --token string User token
-v, --verbose Verbose mode