Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749694b commit 5eecbaaCopy full SHA for 5eecbaa
cli/cliui/parameter.go
@@ -47,6 +47,7 @@ func ParameterSchema(cmd *cobra.Command, parameterSchema codersdk.ParameterSchem
47
value, err = Prompt(cmd, PromptOptions{
48
Text: Styles.Bold.Render(text),
49
})
50
+ value = strings.TrimSpace(value)
51
}
52
if err != nil {
53
return "", err
0 commit comments