Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
change flag to kebab-case
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonpecora committed Oct 20, 2020
1 parent 2e031f4 commit cbde33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/deploy-backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class DeployBackend extends BaseCommand {
...BaseCommand.commonFlags,
region: flags.string({char: 'r', description: 'Region', default: 'us-west-2'}),
subdomain: flags.string({char: 's', description: 'Subdomain'}),
deploymentMode: flags.string({char: 'm', description: 'Deployment Mode', default: 'graphql'})
'deployment-mode': flags.string({char: 'm', description: 'Deployment Mode', default: 'graphql'})
}

static args = [{name: 'name', description: 'Backend Name', required: true}]
Expand All @@ -42,7 +42,7 @@ export default class DeployBackend extends BaseCommand {
name: opts.args.name,
zone: opts.flags.region,
subdomain: opts.flags.subdomain,
deploymentMode: opts.flags.deploymentMode
deploymentMode: opts.flags['deployment-mode']
}),
})
if (response.status !== 200) {
Expand Down

0 comments on commit cbde33c

Please sign in to comment.