Skip to content

Commit f0381c8

Browse files
committed
feat(cli.ts): enhance fgm flag to include description and default value for better usability
1 parent f6de2dc commit f0381c8

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)