grim/convey

Parents 6b705973e673
Children 25adcc3509c2
In older versions of convey the long option of -f was --config not --config-file
--- a/runner/cmd.go Wed Dec 22 10:08:54 2021 -0600
+++ b/runner/cmd.go Wed Dec 22 10:18:10 2021 -0600
@@ -20,7 +20,7 @@
)
type RunnerCmd struct {
- ConfigFile string `kong:"flag,help='The config file to load',placeholder='FILE',short='f',default='convey.yml'"`
+ ConfigFile string `kong:"flag,help='The config file to load',placeholder='FILE',short='f',default='convey.yml',name='config'"`
ForceSequential bool `kong:"flag,help='Force concurrent stages to be ran sequentially',short='S',default='false'"`
KeepWorkspace bool `kong:"flag,help='Keep the workspace directory after running',default='false'"`
Timeout time.Duration `kong:"flag,help='The maximum amount of time a plan can run. 0 to disable. Units must be specified.',placeholder='DURATION',default='15m'"`