Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTooFewArguments = errors.New("Too few arguments") ErrTooManyArguments = errors.New("Too many arguments") ErrNoEventsFound = errors.New("No log events found") )
Error messages
View Source
var ErrInvalidCommand = errors.New("Invalid command")
View Source
var RootCmd = &cobra.Command{ Use: "cwlogs", Short: "Simple CLI for viewing cloudwatch logs", PersistentPreRun: func(cmd *cobra.Command, args []string) { color.NoColor = !useColor }, SilenceUsage: true, SilenceErrors: true, Args: cobra.ArbitraryArgs, RunE: root, }
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.