Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 47f7cd7

Browse files
Merge pull request #164 from jamesgeorge007/feat/show-up-help
feat(chore): show up help by default
2 parents 80ed62b + 6cdf8ed commit 47f7cd7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/cli.js

100644100755
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,8 @@ program
220220
}
221221
})
222222

223+
if (!program._args.length) {
224+
program.help()
225+
}
226+
223227
program.parse(process.argv)

0 commit comments

Comments
 (0)