Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "auth", Short: "Checks whether your cli is authenticated correctly", RunE: func(cmd *cobra.Command, args []string) error { client := cmd.Context().Value(shared.ClientContextKey) if client == nil { return fmt.Errorf("could not authenticate") } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.