From 798f2a3a7d57329c38fdae82e8131a4a4bb9729c Mon Sep 17 00:00:00 2001 From: b-ma Date: Wed, 12 Jun 2024 12:40:53 +0200 Subject: [PATCH] refactor: harmonize argument name --- README.md | 4 ++-- create.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ccfb5d..7aa0f84 100644 --- a/README.md +++ b/README.md @@ -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 Template to use diff --git a/create.js b/create.js index 09154c4..1be5633 100755 --- a/create.js +++ b/create.js @@ -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 ', 'Template to use'); program.parse();