Skip to content

Commit

Permalink
v0.1.2 Added start command and db name prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Callens committed Aug 1, 2014
1 parent ba5c6b8 commit eb294fc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <directory>
```
### Start PencilBlue
From the root directory of a PencilBlue instance:
```
pencilblue start <optional method>
```
Optional methods are nodemon, node, and forever.
### Get pencilblue-cli version
```
pencilblue version
Expand Down
5 changes: 4 additions & 1 deletion lib/InfoService.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ InfoService.prototype.getHelp = function(moduleLocation) {
var helpText = "Usage: pencilblue <command>\n\n" +
"where <command> is one of:\n" +
" help, install, version\n\n" +
"pencilblue install <directory> create and install a PencilBlue instance\n\n" +
"pencilblue install <directory> create and install a PencilBlue instance\n" +
"pencilblue start <optional method> run a PencilBlue instance\n" +
" where <optional method> can be one of:\n" +
" nodemon, node, forever\n\n" +
"pencilblue@" + moduleVersion + " " + moduleLocation;
shell.echo(helpText);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/pencilblue-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit eb294fc

Please sign in to comment.