From a5c39aa4f331262fca6f84fc93ba213bc4624fb3 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 4 Dec 2018 16:46:47 +0100 Subject: [PATCH] refactor: make path option value not optional --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index e8d45fa7..c796bd69 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -25,7 +25,7 @@ const currentWorkingDirectory = cwd(); // configure commander commander .version(JSON.parse(readFileSync(resolve(__dirname, '..', 'package.json')).toString()).version) - .option('-p, --path [path]', `Path of project to add files to (${currentWorkingDirectory})`, currentWorkingDirectory) + .option('-p, --path ', `Path of project to add files to (${currentWorkingDirectory})`, currentWorkingDirectory) .option('-r, --replace', 'Whether to replace existing files or not', false) .parse(process.argv);