Skip to content

Commit 2c31b82

Browse files
authored
docs: update help message with improved option descriptions (#71)
1 parent 542d12f commit 2c31b82

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ export type Argv = {
8484

8585
function logHelpMessage(name: string, templates: string[]) {
8686
logger.log(`
87-
Usage: create-${name} [options]
87+
Usage: create-${name} [dir] [options]
8888
8989
Options:
9090
91-
-h, --help display help for command
92-
-d, --dir create project in specified directory
93-
-t, --template specify the template to use
94-
--tools select additional tools (biome, eslint, prettier)
95-
--override override files in target directory
96-
--package-name specify the package name
91+
-h, --help display help for command
92+
-d, --dir <dir> create project in specified directory
93+
-t, --template <tpl> specify the template to use
94+
--tools <tool> select additional tools (biome, eslint, prettier)
95+
--override override files in target directory
96+
--packageName <name> specify the package name
9797
9898
Templates:
9999

0 commit comments

Comments
 (0)