diff --git a/package-lock.json b/package-lock.json index 0620f86..2319a7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@sheweny/cli", - "version": "1.0.7", + "version": "1.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@sheweny/cli", - "version": "1.0.7", + "version": "1.1.2", "license": "MIT", "dependencies": { "arg": "^5.0.1", diff --git a/package.json b/package.json index 30cc612..1238718 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sheweny/cli", "description": "Cli for sheweny framework", - "version": "1.1.2", + "version": "1.1.3", "main": "lib/cli.js", "bin": { "sheweny": "bin/sheweny", diff --git a/src/templates/add/command.ts b/src/templates/add/command.ts index f56f11b..1e169e5 100644 --- a/src/templates/add/command.ts +++ b/src/templates/add/command.ts @@ -58,7 +58,7 @@ ${options.config!.template === "javascript" ? "module.exports =" : "export"} cla }) { super(client, { - name : "${options.addName}" + name : "${options.addName}", description: "${options.commandOptions!.description}", category: "${options.commandOptions!.category}", cooldown: ${options.commandOptions!.cooldown},