Documentation ¶
Index ¶
- Variables
- func AppendScenarioToTable(s *cnappgoat.Scenario, t table.Writer, c int)
- func CommandBefore(c *cli.Context) error
- func CommandFlags() []cli.Flag
- func CommandUpdateBefore(c *cli.Context) error
- func ConfirmForAllScenarios(action string, scenariosCount int) (bool, error)
- func GetDisplayTable() table.Writer
- func GetScenarios(args cli.Args, reg *cnappgoat.Registry, module string, platform string, ...) ([]*cnappgoat.Scenario, error)
- func MainFlags() []cli.Flag
- func OutputFlags() []cli.Flag
- func SetDebug(debug bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorOptionsCNAPPgoatMagenta = table.ColorOptions{ Footer: text.Colors{text.BgMagenta, text.FgBlack}, Header: text.Colors{text.BgHiMagenta, text.FgBlack}, }
View Source
var OptionsCNAPPgoatSeparateColumns = table.Options{ DrawBorder: false, SeparateColumns: true, SeparateFooter: false, SeparateHeader: false, SeparateRows: false, }
View Source
var TableStyleCNAPPgoatMagenta = table.Style{ Name: "TableStyleCNAPPgoatMagenta", Box: table.StyleBoxLight, Color: ColorOptionsCNAPPgoatMagenta, Format: table.FormatOptionsDefault, Options: OptionsCNAPPgoatSeparateColumns, Title: table.TitleOptionsMagentaOnBlack, }
Functions ¶
func AppendScenarioToTable ¶
func CommandBefore ¶
func CommandBefore(c *cli.Context) error
func CommandFlags ¶
func CommandFlags() []cli.Flag
func CommandUpdateBefore ¶
func CommandUpdateBefore(c *cli.Context) error
func ConfirmForAllScenarios ¶
func GetDisplayTable ¶
func GetScenarios ¶
func OutputFlags ¶
func OutputFlags() []cli.Flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.