Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Login = cli.Command{
Name: "login",
Usage: "Log in to Common Fate",
Action: defaultLoginFlow.LoginAction,
}
View Source
var Logout = cli.Command{ Name: "logout", Usage: "Log out of Common Fate", Action: func(c *cli.Context) error { cfg, err := config.Load() if err != nil { return err } ts := tokenstore.New(cfg.CurrentContext) err = ts.Clear() if err != nil { return err } clio.Success("logged out") return nil }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.