@@ -12,9 +12,9 @@ import { Command } from './settings';
1212 */
1313export interface CliArguments {
1414 /**
15- * The CLI command name followed by any properties of the command
15+ * The CLI command name
1616 */
17- readonly _ : [ Command , ... string [ ] ] ;
17+ readonly _ : Command ;
1818
1919 /**
2020 * Global options available to all CLI commands
@@ -327,6 +327,11 @@ export interface ListOptions {
327327 * @default - false
328328 */
329329 readonly showDependencies ?: boolean ;
330+
331+ /**
332+ * Positional argument for list
333+ */
334+ readonly STACKS ?: Array < string > ;
330335}
331336
332337/**
@@ -361,6 +366,11 @@ export interface SynthesizeOptions {
361366 * @default - false
362367 */
363368 readonly quiet ?: boolean ;
369+
370+ /**
371+ * Positional argument for synthesize
372+ */
373+ readonly STACKS ?: Array < string > ;
364374}
365375
366376/**
@@ -504,6 +514,11 @@ export interface BootstrapOptions {
504514 * @default - true
505515 */
506516 readonly previousParameters ?: boolean ;
517+
518+ /**
519+ * Positional argument for bootstrap
520+ */
521+ readonly ENVIRONMENTS ?: Array < string > ;
507522}
508523
509524/**
@@ -553,6 +568,11 @@ export interface GcOptions {
553568 * @default - undefined
554569 */
555570 readonly bootstrapStackName ?: string ;
571+
572+ /**
573+ * Positional argument for gc
574+ */
575+ readonly ENVIRONMENTS ?: Array < string > ;
556576}
557577
558578/**
@@ -748,6 +768,11 @@ export interface DeployOptions {
748768 * @default - false
749769 */
750770 readonly ignoreNoStacks ?: boolean ;
771+
772+ /**
773+ * Positional argument for deploy
774+ */
775+ readonly STACKS ?: Array < string > ;
751776}
752777
753778/**
@@ -792,6 +817,11 @@ export interface RollbackOptions {
792817 * @default - []
793818 */
794819 readonly orphan ?: Array < string > ;
820+
821+ /**
822+ * Positional argument for rollback
823+ */
824+ readonly STACKS ?: Array < string > ;
795825}
796826
797827/**
@@ -854,6 +884,11 @@ export interface ImportOptions {
854884 * @default - undefined
855885 */
856886 readonly resourceMapping ?: string ;
887+
888+ /**
889+ * Positional argument for import
890+ */
891+ readonly STACK ?: string ;
857892}
858893
859894/**
@@ -944,6 +979,11 @@ export interface WatchOptions {
944979 * @default - 1
945980 */
946981 readonly concurrency ?: number ;
982+
983+ /**
984+ * Positional argument for watch
985+ */
986+ readonly STACKS ?: Array < string > ;
947987}
948988
949989/**
@@ -976,6 +1016,11 @@ export interface DestroyOptions {
9761016 * @default - undefined
9771017 */
9781018 readonly force ?: boolean ;
1019+
1020+ /**
1021+ * Positional argument for destroy
1022+ */
1023+ readonly STACKS ?: Array < string > ;
9791024}
9801025
9811026/**
@@ -1052,14 +1097,24 @@ export interface DiffOptions {
10521097 * @default - true
10531098 */
10541099 readonly changeSet ?: boolean ;
1100+
1101+ /**
1102+ * Positional argument for diff
1103+ */
1104+ readonly STACKS ?: Array < string > ;
10551105}
10561106
10571107/**
10581108 * Returns all metadata associated with this stack
10591109 *
10601110 * @struct
10611111 */
1062- export interface MetadataOptions { }
1112+ export interface MetadataOptions {
1113+ /**
1114+ * Positional argument for metadata
1115+ */
1116+ readonly STACK ?: string ;
1117+ }
10631118
10641119/**
10651120 * Acknowledge a notice so that it does not show up anymore
@@ -1068,7 +1123,12 @@ export interface MetadataOptions {}
10681123 *
10691124 * @struct
10701125 */
1071- export interface AcknowledgeOptions { }
1126+ export interface AcknowledgeOptions {
1127+ /**
1128+ * Positional argument for acknowledge
1129+ */
1130+ readonly ID ?: string ;
1131+ }
10721132
10731133/**
10741134 * Returns a list of relevant notices
@@ -1114,6 +1174,11 @@ export interface InitOptions {
11141174 * @default - false
11151175 */
11161176 readonly generateOnly ?: boolean ;
1177+
1178+ /**
1179+ * Positional argument for init
1180+ */
1181+ readonly TEMPLATE ?: string ;
11171182}
11181183
11191184/**
0 commit comments