Skip to content

Commit

Permalink
refactor: harmonize argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Jun 12, 2024
1 parent 318df83 commit 798f2a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ npx @ircam/create@latest [dirname]
```

```
Usage: create [options] [path]
Usage: create [options] [dirname]
Arguments:
path Directory in which we should create the project
dirname Directory in which we should create the project
Options:
-t, --template <string> Template to use
Expand Down
2 changes: 1 addition & 1 deletion create.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ console.log(`${chalk.gray(`[@ircam/create#v${version}]`)}`);
const templates = ['nobuild', 'esbuild'];

program
.argument('[path]', 'Directory in which we should create the project')
.argument('[dirname]', 'Directory in which we should create the project')
.option('-t, --template <string>', 'Template to use');

program.parse();
Expand Down

0 comments on commit 798f2a3

Please sign in to comment.