Documentation
¶
Index ¶
- func Execute()
- func NewConfigureCommand() *cobra.Command
- func NewConfigureCommandWithDeps(saver profileSaver, tenantURL, username, mfaMethod string) *cobra.Command
- func NewFavoritesCommand() *cobra.Command
- func NewLoginCommand() *cobra.Command
- func NewLoginCommandWithAuth(auth authenticator) *cobra.Command
- func NewLogoutCommand() *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewRootCommandWithDeps(authLoader authLoader, eligibilityLister eligibilityLister, ...) *cobra.Command
- func NewStatusCommand() *cobra.Command
- func NewStatusCommandWithDeps(authLoader authLoader, sessionLister sessionLister) *cobra.Command
- func NewVersionCommand() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigureCommand ¶
NewConfigureCommand creates the configure command
func NewConfigureCommandWithDeps ¶
func NewConfigureCommandWithDeps(saver profileSaver, tenantURL, username, mfaMethod string) *cobra.Command
NewConfigureCommandWithDeps creates a configure command with injected dependencies for testing
func NewFavoritesCommand ¶
NewFavoritesCommand creates the favorites parent command with subcommands
func NewLoginCommand ¶
NewLoginCommand creates the login command
func NewLoginCommandWithAuth ¶
NewLoginCommandWithAuth creates a login command with a custom authenticator for testing
func NewLogoutCommand ¶
NewLogoutCommand creates the logout command
func NewRootCommand ¶
NewRootCommand creates a new root command for testing (no elevation RunE)
func NewRootCommandWithDeps ¶
func NewRootCommandWithDeps( authLoader authLoader, eligibilityLister eligibilityLister, elevateService elevateService, selector targetSelector, cfg *config.Config, ) *cobra.Command
NewRootCommandWithDeps creates a root command with injected dependencies for testing
func NewStatusCommand ¶
NewStatusCommand creates the status command
func NewStatusCommandWithDeps ¶
NewStatusCommandWithDeps creates a status command with injected dependencies for testing
func NewVersionCommand ¶
NewVersionCommand creates the version command
Types ¶
This section is empty.