Skip to content

Commit

Permalink
Change secret name argument to kebab-case (#699)
Browse files Browse the repository at this point in the history
* Change secret name argument to kebab-case

---------

Co-authored-by: Hoang Nguyen <hoangaz@amazon.com>
  • Loading branch information
hoangnbn and Hoang Nguyen authored Nov 20, 2023
1 parent 7822cee commit 590662a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-icons-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/backend-cli': patch
---

Change secret name argument in secret commands to kebab-case
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class SandboxSecretGetCommand
private readonly sandboxIdResolver: SandboxBackendIdResolver,
private readonly secretClient: SecretClient
) {
this.command = 'get <secretName>';
this.command = 'get <secret-name>';
this.describe = 'Get a sandbox secret';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class SandboxSecretRemoveCommand
private readonly sandboxIdResolver: SandboxBackendIdResolver,
private readonly secretClient: SecretClient
) {
this.command = 'remove <secretName>';
this.command = 'remove <secret-name>';
this.describe = 'Remove a sandbox secret';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class SandboxSecretSetCommand
private readonly sandboxIdResolver: SandboxBackendIdResolver,
private readonly secretClient: SecretClient
) {
this.command = 'set <secretName>';
this.command = 'set <secret-name>';
this.describe = 'Set a sandbox secret';
}

Expand Down

0 comments on commit 590662a

Please sign in to comment.