Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommonCliHelper ¶
GetCommonCliHelper returns the common cli helper for both cli and admin commands
func SetAdminCommands ¶
SetAdminCommands sets the admin commands
func SetCommonCommands ¶
func SetCommonCommands( commands *[]cli.Command, cliHelper common.CliHelper, serviceName string, authEnabled bool, getAuthProvider func(*cli.Context) cherami.AuthProvider, )
SetCommonCommands sets the common commands for both cli and admin commands getAuthProvider is meaningful if and only if authEnabled is true
func SetCommonFlags ¶
SetCommonFlags sets the common flags for both cli and admin commands
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.