Skip to content

Commit

Permalink
chore(cli): update Command enum (#32688)
Browse files Browse the repository at this point in the history
This is a stopgap -- `Command` should eventually be generated but I do not have capability to generate enums or an equivalent type to replace this yet. 

I am using `Command` as an exhaustive list to generate other code blocks; it was not used that way in the past so it hasn't needed to be updated with new commands as they've been added.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
kaizencc authored Dec 30, 2024
1 parent 2355d1c commit 82a0c6b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/aws-cdk/lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ export enum Command {
INIT = 'init',
VERSION = 'version',
WATCH = 'watch',
GC = 'gc',
ROLLBACK = 'rollback',
IMPORT = 'import',
ACKNOWLEDGE = 'acknowledge',
NOTICES = 'notices',
MIGRATE = 'migrate',
CONTEXT = 'context',
DOCS = 'docs',
DOCTOR = 'doctor',
}

const BUNDLING_COMMANDS = [
Expand Down

0 comments on commit 82a0c6b

Please sign in to comment.