diff --git a/NodeApp/package.json b/NodeApp/package.json index 0214cfcef6ee67364b1b2825be4a8663d83a41ca..c0492cf01ea44eb53f2f58e355b3a088174e4635 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 d7558e995e4c24844807ba90342a22d4b8f21183..b374d7013d4f1bdf2ab73db0011dc03f12d134ba 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 a1d534c7c3def9f3d4125e743fdf6c32c67aae1f..b117cebf9b31fd159716c800a5e1168fdbf325ad 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)); }