mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: renamed coder template edit
flags in coder CLI (#3471)
Use `-` over `_` for cli flags
This commit is contained in:
committed by
GitHub
parent
b3d3b8ba0f
commit
c3fcf7c953
@ -53,8 +53,8 @@ func templateEdit() *cobra.Command {
|
||||
}
|
||||
|
||||
cmd.Flags().StringVarP(&description, "description", "", "", "Edit the template description")
|
||||
cmd.Flags().DurationVarP(&maxTTL, "max_ttl", "", 0, "Edit the template maximum time before shutdown")
|
||||
cmd.Flags().DurationVarP(&minAutostartInterval, "min_autostart_interval", "", 0, "Edit the template minimum autostart interval")
|
||||
cmd.Flags().DurationVarP(&maxTTL, "max-ttl", "", 0, "Edit the template maximum time before shutdown")
|
||||
cmd.Flags().DurationVarP(&minAutostartInterval, "min-autostart-interval", "", 0, "Edit the template minimum autostart interval")
|
||||
cliui.AllowSkipPrompt(cmd)
|
||||
|
||||
return cmd
|
||||
|
Reference in New Issue
Block a user