Skip to content

Commit 1fcb265

Browse files
committed
updated short flags of external commands
1 parent d840c17 commit 1fcb265

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages
    • contentstack-apps-cli/src/commands/app
    • contentstack-cli-tsgen/src/commands
    • contentstack-external-migrate/src/commands/migrate

packages/contentstack-apps-cli/src/commands/app/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export default class Create extends BaseCommand<typeof Create> {
6262

6363
static flags: FlagInput = {
6464
name: flags.string({
65-
char: "n",
6665
description: appCreate.NAME_DESCRIPTION,
6766
}),
6867
"app-type": flags.string({

packages/contentstack-cli-tsgen/src/commands/tsgen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
4646
}
4747

4848
static flags: FlagInput = {
49-
"token-alias": flags.string({
49+
alias: flags.string({
5050
char: "a",
5151
description: "delivery token alias",
5252
hidden: false,
@@ -115,7 +115,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
115115
try {
116116
const { flags } = await this.parse(TypeScriptCodeGeneratorCommand);
117117

118-
const token = this.getToken(flags["token-alias"]);
118+
const token = this.getToken(flags["alias"]);
119119
const prefix = flags.prefix;
120120
const includeDocumentation = flags.doc;
121121
const filePath = flags.output;

packages/contentstack-external-migrate/src/commands/migrate/convert.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export default class MigrateConvert extends Command {
3232
description: 'Destination master locale code',
3333
}),
3434
affix: flags.string({
35-
char: 'a',
3635
description: 'Content-type UID prefix',
3736
default: '',
3837
}),

0 commit comments

Comments
 (0)