diff --git a/README.md b/README.md index 2ada874..bed14b0 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,16 @@ A command line interface for PencilBlue. Install the module with: `sudo npm install -g pencilblue-cli` ## Examples -### Create and Install a PencilBlue Instance +### Create and install a PencilBlue instance ``` pencilblue install ``` +### Start PencilBlue +From the root directory of a PencilBlue instance: +``` +pencilblue start +``` +Optional methods are nodemon, node, and forever. ### Get pencilblue-cli version ``` pencilblue version diff --git a/lib/InfoService.js b/lib/InfoService.js index 630d821..0525987 100644 --- a/lib/InfoService.js +++ b/lib/InfoService.js @@ -4,7 +4,10 @@ InfoService.prototype.getHelp = function(moduleLocation) { var helpText = "Usage: pencilblue \n\n" + "where is one of:\n" + " help, install, version\n\n" + - "pencilblue install create and install a PencilBlue instance\n\n" + + "pencilblue install create and install a PencilBlue instance\n" + + "pencilblue start run a PencilBlue instance\n" + + " where can be one of:\n" + + " nodemon, node, forever\n\n" + "pencilblue@" + moduleVersion + " " + moduleLocation; shell.echo(helpText); }; diff --git a/lib/pencilblue-cli.js b/lib/pencilblue-cli.js index 7a05d11..510365f 100644 --- a/lib/pencilblue-cli.js +++ b/lib/pencilblue-cli.js @@ -13,7 +13,7 @@ global.fs = require('fs'); global.shell = require('shelljs'); global.prompt = require('prompt'); -global.moduleVersion = "0.1.1"; +global.moduleVersion = "0.1.2"; var InstallService = require('./InstallService'); var instService = new InstallService(); diff --git a/package.json b/package.json index c8d44a1..e7cb0d7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pencilblue-cli", "description": "A command line interface for PencilBlue.", - "version": "0.1.1", + "version": "0.1.2", "homepage": "https://pencilblue.org", "author": { "name": "pencilblue",