maton whoami
maton whoami [flags]
Display the current authentication state for the Maton CLI. Calls the Maton /user endpoint to verify the stored API key and fetch account info. Use –format json for output suitable for scripting or agent consumption. Exit codes: 0 Authenticated 1 Not authenticated, or an error occurred
Options
-
--format <string> - Output format: 'json' for a stable JSON schema (suitable for scripting)
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton whoami
$ maton whoami --format json