From b81fcc01d1af05a57676ee5cf42a32cc262c11de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Fri, 11 Aug 2023 23:35:48 +0200 Subject: [PATCH] Package => Update version number --- NodeApp/package.json | 2 +- NodeApp/src/commander/CommanderApp.ts | 4 ++-- NodeApp/src/commander/exercice/ExerciceRunCommand.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NodeApp/package.json b/NodeApp/package.json index 0214cfc..c0492cf 100644 --- a/NodeApp/package.json +++ b/NodeApp/package.json @@ -3,7 +3,7 @@ "version" : "1.0.1", "main" : "dist/app.js", "bin" : { - "dirmanager": "./dist/app.js" + "dojo": "./dist/app.js" }, "pkg" : { "scripts": [], diff --git a/NodeApp/src/commander/CommanderApp.ts b/NodeApp/src/commander/CommanderApp.ts index d7558e9..b374d70 100644 --- a/NodeApp/src/commander/CommanderApp.ts +++ b/NodeApp/src/commander/CommanderApp.ts @@ -11,8 +11,8 @@ class CommanderApp { constructor() { this.program .name('dojo') - .description('CLI for the Dojo application') - .version('1.0.0 dev') + .description('CLI of the Dojo application') + .version('1.0.1') .showHelpAfterError() .configureHelp({ showGlobalOptions: true, diff --git a/NodeApp/src/commander/exercice/ExerciceRunCommand.ts b/NodeApp/src/commander/exercice/ExerciceRunCommand.ts index a1d534c..b117ceb 100644 --- a/NodeApp/src/commander/exercice/ExerciceRunCommand.ts +++ b/NodeApp/src/commander/exercice/ExerciceRunCommand.ts @@ -35,7 +35,7 @@ class ExerciceRunCommand extends CommanderCommand { protected defineCommand() { this.command .description('create a new exercice from an enonce') - .option('-p, --path <value>', 'exercice path (default: current directory)', Config.folders.defaultLocalExercice) + .option('-p, --path <value>', 'exercice path', Config.folders.defaultLocalExercice) .action(this.commandAction.bind(this)); } -- GitLab