in cmd/ie/commands/root.go [42:68]
func ExecuteCLI() {
rootCommand.PersistentFlags().
String(
"log-level",
string(logging.Debug),
"Configure the log level for statements written to ie.log. Valid options are 'trace', 'debug', 'info', 'warn', 'error', 'fatal'",
)
rootCommand.PersistentFlags().
String(
"environment",
environments.EnvironmentsLocal,
"The environment that the CLI is running in. Valid options are 'local', 'github-action'. For running ie in your standard terminal, local will work just fine. If using IE inside a github action, use github-action.",
)
rootCommand.PersistentFlags().
StringArray(
"feature",
[]string{},
"Enables the specified feature. Format: --feature <feature>",
)
if err := rootCommand.Execute(); err != nil {
fmt.Println(err)
logging.GlobalLogger.Errorf("Failed to execute ie: %s", err)
os.Exit(1)
}
}