Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Update app and remote flags #2968

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(),
k80bowman marked this conversation as resolved.
Show resolved Hide resolved
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
Loading