Documentation
¶
Overview ¶
Package auth implements "sepay auth" and the root "login"/"logout" aliases.
Index ¶
- func NewCmdAuth(f *cmdutil.Factory) *cobra.Command
- func NewCmdLogin(f *cmdutil.Factory) *cobra.Command
- func NewCmdLogout(f *cmdutil.Factory) *cobra.Command
- func NewCmdRefresh(f *cmdutil.Factory) *cobra.Command
- func NewCmdRevoke(f *cmdutil.Factory) *cobra.Command
- func NewCmdSessions(f *cmdutil.Factory) *cobra.Command
- func NewCmdStatus(f *cmdutil.Factory) *cobra.Command
- func NewCmdSwitch(f *cmdutil.Factory) *cobra.Command
- func NewCmdToken(f *cmdutil.Factory) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAuth ¶
NewCmdAuth builds the "sepay auth" parent command.
func NewCmdLogin ¶
NewCmdLogin builds "sepay auth login" (also the root "sepay login").
func NewCmdLogout ¶
NewCmdLogout builds "sepay auth logout" (also the root "sepay logout").
func NewCmdRefresh ¶
NewCmdRefresh builds "sepay auth refresh".
func NewCmdRevoke ¶
NewCmdRevoke builds "sepay auth revoke [profile]".
func NewCmdSessions ¶
NewCmdSessions builds "sepay auth sessions".
func NewCmdStatus ¶
NewCmdStatus builds "sepay auth status".
func NewCmdSwitch ¶
NewCmdSwitch builds "sepay auth switch <profile>", prompting when no argument is given.
Types ¶
This section is empty.