Skip to content

Commit

Permalink
fix(cli): Update app and remote flags (#2968)
Browse files Browse the repository at this point in the history
* Update app and remote flags

* App not required here because of bulk

* Change app flag to app type
  • Loading branch information
eablack authored Aug 8, 2024
1 parent e1e5252 commit 6b57765
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/ci/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class CiIndex extends Command {
]

static flags = {
app: flags.string({char: 'a', description: 'app name'}),
app: flags.app(),
remote: flags.remote(),
watch: flags.boolean({description: 'keep running and watch for new and update tests', required: false}),
pipeline: flags.pipeline({required: false}),
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/ci/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class CiInfo extends Command {
]

static flags = {
app: flags.string({char: 'a', description: 'app name'}),
app: flags.app(),
remote: flags.remote(),
node: flags.string({description: 'the node number to show its setup and output', required: false}),
pipeline: flags.pipeline({required: false}),
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/ci/last.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class CiLast extends Command {
]

static flags = {
app: flags.string({char: 'a', description: 'app name'}),
app: flags.app(),
remote: flags.remote(),
node: flags.string({description: 'the node number to show its setup and output', required: false}),
pipeline: flags.pipeline({required: false}),
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/ci/rerun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class CiReRun extends Command {
]

static flags = {
app: flags.string({char: 'a', description: 'app name'}),
app: flags.app(),
remote: flags.remote(),
pipeline: flags.pipeline({required: false}),
}
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/src/commands/ci/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default class CiRun extends Command {
]

static flags = {
app: flags.string({char: 'a', description: 'app name'}),
app: flags.app(),
remote: flags.remote(),
pipeline: flags.pipeline({required: false}),
}

Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/commands/pg/credentials/rotate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default class Rotate extends Command {
confirm: flags.string({char: 'c'}),
force: flags.boolean({description: 'forces rotating the targeted credentials'}),
app: flags.app({required: true}),
remote: flags.remote(),
}

static args = {
Expand Down

0 comments on commit 6b57765

Please sign in to comment.