Skip to content

Commit

Permalink
馃殮 Rename alias to shortFlag in cli for meow (#1195)
Browse files Browse the repository at this point in the history
馃殮 Rename `alias` to `shortFlag` in `cli`
  • Loading branch information
carloscuesta committed Sep 7, 2023
1 parent 4bc05c9 commit 304fc58
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ const cli = meow(
{
importMeta: { url: import.meta.url } as ImportMeta,
flags: {
[FLAGS.COMMIT]: { type: 'boolean', alias: 'c' },
[FLAGS.CONFIG]: { type: 'boolean', alias: 'g' },
[FLAGS.HELP]: { type: 'boolean', alias: 'h' },
[FLAGS.INIT]: { type: 'boolean', alias: 'i' },
[FLAGS.LIST]: { type: 'boolean', alias: 'l' },
[FLAGS.REMOVE]: { type: 'boolean', alias: 'r' },
[FLAGS.SEARCH]: { type: 'boolean', alias: 's' },
[FLAGS.UPDATE]: { type: 'boolean', alias: 'u' },
[FLAGS.VERSION]: { type: 'boolean', alias: 'v' }
[FLAGS.COMMIT]: { type: 'boolean', shortFlag: 'c' },
[FLAGS.CONFIG]: { type: 'boolean', shortFlag: 'g' },
[FLAGS.HELP]: { type: 'boolean', shortFlag: 'h' },
[FLAGS.INIT]: { type: 'boolean', shortFlag: 'i' },
[FLAGS.LIST]: { type: 'boolean', shortFlag: 'l' },
[FLAGS.REMOVE]: { type: 'boolean', shortFlag: 'r' },
[FLAGS.SEARCH]: { type: 'boolean', shortFlag: 's' },
[FLAGS.UPDATE]: { type: 'boolean', shortFlag: 'u' },
[FLAGS.VERSION]: { type: 'boolean', shortFlag: 'v' }
}
}
)
Expand Down

0 comments on commit 304fc58

Please sign in to comment.