Documentation ¶
Overview ¶
Package cliutil contains helper functions for cli and clicommand
Index ¶
- Constants
- Variables
- func FormatFlag(flagName string) string
- func GetFlag(val string) string
- func IsFlag(val string) bool
- func IsHelp(subcommands []string, parameters map[string][]string) bool
- func Register(command CliCommand)
- func ValidJson(s string) bool
- func ValidUrl(s string) bool
- type CliCommand
Constants ¶
View Source
const ( HelpFlag = "help" SsmCliName = "ssm-cli" )
Variables ¶
View Source
var CliCommands map[string]CliCommand
CliCommands is the set of support commands
Functions ¶
func FormatFlag ¶
FormatFlag returns a parameter name formatted as a command line flag
Types ¶
Click to show internal directories.
Click to hide internal directories.