Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "lint", Usage: "lint a pipeline configuration file", ArgsUsage: "[path/to/.woodpecker.yaml]", Action: lint, Flags: []cli.Flag{ &cli.StringSliceFlag{ Sources: cli.EnvVars("WOODPECKER_PLUGINS_PRIVILEGED", "CROW_PLUGINS_PRIVILEGED"), Name: "plugins-privileged", Usage: "plugins allowed to run 'privileged'", }, &cli.StringSliceFlag{ Sources: cli.EnvVars("WOODPECKER_PLUGINS_TRUSTED_CLONE", "CROW_PLUGINS_TRUSTED_CLONE"), Name: "plugins-trusted-clone", Usage: "plugins that are trusted to handle Git credentials in clone steps", Value: constant.TrustedClonePlugins, }, &cli.BoolFlag{ Sources: cli.EnvVars("WOODPECKER_LINT_STRICT", "CROW_LINT_STRICT"), Name: "strict", Usage: "treat warnings as errors", }, }, }
Command exports the info command.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.