Skip to content

Commit

Permalink
Issue #169: Need documentation when using ! in an environment variabl…
Browse files Browse the repository at this point in the history
…e value

Signed-off-by: macdonst <[email protected]>
  • Loading branch information
macdonst committed Jan 16, 2024
1 parent 10f3f1f commit 8c54589
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/commands/env/create/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,15 @@ module.exports = {
examples: [
{
name: `Create a variable named 'FOO' in 'staging'`,
example: 'begin env create --env staging --name FOO --value bar',
example: `begin env create --env staging --name FOO --value "bar"`,
},
{
name: `Create a variable named 'FOO' in 'staging' with escaped special characters (Mac/Linux)`,
example: `begin env create --env staging --name FOO --value "bar\\!"`,
},
{
name: `Create a variable named 'FOO' in 'staging' with special characters (Windows)`,
example: `begin env create --env staging --name FOO --value "bar!"`,
},
]
}
Expand Down

0 comments on commit 8c54589

Please sign in to comment.