Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "redshirt-cli-wrapper [command]", Short: "An wrapper for converting any app into a Redshirt bot", Long: `A wrapper for converting any app into a Redshirt bot using a simple protocol based on STDIN, STDOUT, STDERR. Example: redshirt-cli-wrapper \ -addr riker:6000 \ -cert echo.pem \ -namespace "echo" \ -description="echo server" \ --groups "infra" \ -usage "echo <msg>: replies with <msg>" \ /bin/echo-server `, Args: cobra.MinimumNArgs(1), PreRunE: validateArgs, RunE: wrapCmd, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.