mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
chore(cli): rename build options to ephemeral parameters in cli (#15030)
This PR aims to rename `build-option` to `ephemeral-parameters` based on #10488 conversation. `build-option` has been renamed `ephemeral-parameter` and can be used to define a value for an ephemeral parameter in the template. `build-options` has been renamed `prompt-ephemeral-parameters` and can be used to prompt the user to put values for the ephemeral parameters in the template. --------- Co-authored-by: Mathias Fredriksson <mafredri@gmail.com> Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: defelmnq <yvincent@coder.com>
This commit is contained in:
@@ -29,7 +29,7 @@ func (r *RootCmd) update() *serpent.Command {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if !workspace.Outdated && !parameterFlags.promptRichParameters && !parameterFlags.promptBuildOptions && len(parameterFlags.buildOptions) == 0 {
|
||||
if !workspace.Outdated && !parameterFlags.promptRichParameters && !parameterFlags.promptEphemeralParameters && len(parameterFlags.ephemeralParameters) == 0 {
|
||||
_, _ = fmt.Fprintf(inv.Stdout, "Workspace is up-to-date.\n")
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user