Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = models.Command{ Name: "logout", ShortHelp: "Clear the stored user information from your local machine", LongHelp: "When using the CLI, your username and password are **never** stored in any file on your filesystem. " + "However, in order to not type in your username and password each and every command, a session token is stored in the CLI's configuration file and used until it expires. " + "`logout` removes this session token from the configuration file. Here is a sample command\n\n" + "```\ncatalyze logout\n```", CmdFunc: func(settings *models.Settings) func(cmd *cli.Cmd) { return func(cmd *cli.Cmd) { cmd.Action = func() { err := CmdLogout(New(settings), auth.New(settings, prompts.New())) if err != nil { logrus.Fatal(err.Error()) } } } }, }
Cmd is the contract between the user and the CLI. This specifies the command name, arguments, and required/optional arguments and flags for the command.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.