Skip to content

Commit 5590415

Browse files
authored
Merge pull request #472 from kakakakakku/fgm
feat(cli.ts): enhance fgm flag to include description and default value for better usability
2 parents c1be513 + f0381c8 commit 5590415

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cli.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ cli(
1919
name: 'opencommit',
2020
commands: [configCommand, hookCommand, commitlintConfigCommand],
2121
flags: {
22-
fgm: Boolean,
22+
fgm: {
23+
type: Boolean,
24+
description: 'Use full GitMoji specification',
25+
default: false
26+
},
2327
context: {
2428
type: String,
2529
alias: 'c',

0 commit comments

Comments
 (0)