Documentation
¶
Overview ¶
Package global provides CLI global flags.
Index ¶
- Constants
- func HelpAction(ctx *cli.Context, opts *options.TerragruntOptions) error
- func NewFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags
- func NewHelpVersionFlags(opts *options.TerragruntOptions) cli.Flags
- func NewLogLevelFlag(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flag
- func VersionAction(ctx *cli.Context, _ *options.TerragruntOptions) error
Constants ¶
View Source
const ( LogLevelFlagName = "log-level" LogDisableFlagName = "log-disable" ShowLogAbsPathsFlagName = "log-show-abs-paths" LogFormatFlagName = "log-format" LogCustomFormatFlagName = "log-custom-format" NoColorFlagName = "no-color" NonInteractiveFlagName = "non-interactive" WorkingDirFlagName = "working-dir" StrictModeFlagName = "strict-mode" StrictControlFlagName = "strict-control" ExperimentModeFlagName = "experiment-mode" ExperimentFlagName = "experiment" HelpFlagName = "help" VersionFlagName = "version" DeprecatedLogLevelFlagName = "log-level" DeprecatedLogDisableFlagName = "log-disable" DeprecatedShowLogAbsPathsFlagName = "log-show-abs-paths" DeprecatedLogFormatFlagName = "log-format" DeprecatedLogCustomFormatFlagName = "log-custom-format" DeprecatedNoColorFlagName = "no-color" DeprecatedNonInteractiveFlagName = "non-interactive" DeprecatedWorkingDirFlagName = "working-dir" DeprecatedStrictModeFlagName = "strict-mode" DeprecatedStrictControlFlagName = "strict-control" DeprecatedExperimentModeFlagName = "experiment-mode" DeprecatedExperimentFlagName = "experiment" DeprecatedDisableLogFormattingFlagName = "disable-log-formatting" DeprecatedJSONLogFlagName = "json-log" DeprecatedTfLogJSONFlagName = "tf-logs-to-json" )
Variables ¶
This section is empty.
Functions ¶
func HelpAction ¶
func HelpAction(ctx *cli.Context, opts *options.TerragruntOptions) error
func NewHelpVersionFlags ¶
func NewHelpVersionFlags(opts *options.TerragruntOptions) cli.Flags
func NewLogLevelFlag ¶
func VersionAction ¶
func VersionAction(ctx *cli.Context, _ *options.TerragruntOptions) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.