BreatheCode-Cli
Command Line Interface for BreatheCode students:- Download boilerplates.
- Cloud 9 integration.
- Automatic code generation (snippets).
- Syntact correction.
- Any idea? Suggest new features or integrations here.
Table of contents
Install
Make sure you have node 8+
$ node -v
The install with yarn:
$ yarn global add @breathecode/breathecode-cli
or with npm:
$ npm install -g @breathecode/breathecode-cli
Usage
```sh-session
$ npm install -g @breathecode/breathecode-cli
$ breathecode COMMAND
running command...
$ breathecode (-v|--version|version)
@breathecode/breathecode-cli/1.0.2 linux-x64 node-v8.11.3
$ breathecode --help COMMAND
USAGE
$ breathecode COMMAND
...
<!-- usagestop -->
<!-- commands -->
# Commands
* [breathecode c9:all](#c-9-all)
* [breathecode c9:mysql](#c-9-mysql)
* [breathecode c9:node](#c-9-node)
* [breathecode c9:phpmyadmin](#c-9-phpmyadmin)
* [breathecode code:all](#codeall)
* [breathecode code:get-todos](#codeget-todos)
* [breathecode generate:all](#generateall)
* [breathecode generate:flux-action](#generateflux-action)
* [breathecode generate:flux-folders](#generateflux-folders)
* [breathecode generate:flux-store](#generateflux-store)
* [breathecode generate:flux-view](#generateflux-view)
* [breathecode generate:react-component](#generatereact-component)
* [breathecode help [COMMAND]](#help-command)
* [breathecode start:all](#startall)
* [breathecode start:django-rest](#startdjango-rest)
* [breathecode start:flux](#startflux)
* [breathecode start:react](#startreact)
* [breathecode start:vanillajs](#startvanillajs)
* [breathecode start:wordpress](#startwordpress)
## c9:all
Interact with Cloud9 functionalities
USAGE
$ breathecode c9:all
_See code: [src/commands/c9/all.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/c9/all.js)_
## c9:mysql
Interact with MySQL
USAGE
$ breathecode c9:mysqlOPTIONS --install install MySQL --start start MySQL --stop stop MySQL
_See code: [src/commands/c9/mysql.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/c9/mysql.js)_
## c9:node
Interact node.js
USAGE
$ breathecode c9:nodeOPTIONS --upgrade upgrade node to v8
_See code: [src/commands/c9/node.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/c9/node.js)_
## c9:phpmyadmin
Interact with PhpMyAdmin
USAGE
$ breathecode c9:phpmyadminOPTIONS --install install phpmyadmin
_See code: [src/commands/c9/phpmyadmin.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/c9/phpmyadmin.js)_
## code:all
Analyze your code for best practices and find TODOs
USAGE
$ breathecode code:all
_See code: [src/commands/code/all.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/code/all.js)_
## code:get-todos
Reads your code looking for //TODO: comments
USAGE
$ breathecode code:get-todosOPTIONS -l, --log log scaned files on the console -t, --type=js|jsx|scss|css|md|html|py default: js file extensions to look for
_See code: [src/commands/code/get-todos.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/code/get-todos.js)_
## generate:all
Generate template code and other boring stuff!
USAGE
$ breathecode generate:all
_See code: [src/commands/generate/all.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/all.js)_
## generate:flux-action
Generate a new Flux.Action
USAGE
$ breathecode generate:flux-actionOPTIONS -n, --name=name the action name (optional)
_See code: [src/commands/generate/flux-action.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/flux-action.js)_
## generate:flux-folders
Generate Flux standard directories
USAGE
$ breathecode generate:flux-foldersOPTIONS -w, --withSamples include a sample Action, View and Store
_See code: [src/commands/generate/flux-folders.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/flux-folders.js)_
## generate:flux-store
Generate a new flux store
USAGE
$ breathecode generate:flux-storeOPTIONS -n, --name=name the store name (optional)
_See code: [src/commands/generate/flux-store.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/flux-store.js)_
## generate:flux-view
Generate a new Flux.View
USAGE
$ breathecode generate:flux-viewOPTIONS -n, --name=name the view name (optional)
_See code: [src/commands/generate/flux-view.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/flux-view.js)_
## generate:react-component
Generate a new React.Component
USAGE
$ breathecode generate:react-componentOPTIONS -n, --name=name the component name (optional)
_See code: [src/commands/generate/react-component.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/generate/react-component.js)_
## help [COMMAND]
display help for breathecode
USAGE
$ breathecode help COMMANDARGUMENTS COMMAND command to show help for
OPTIONS --all see all commands in CLI
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.1.6/src/commands/help.ts)_
## start:all
A collection of boilerplates to start new projects
USAGE
$ breathecode start:all
_See code: [src/commands/start/all.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/start/all.js)_
## start:django-rest
Start a new Django+REST project
USAGE
$ breathecode start:django-rest
_See code: [src/commands/start/django-rest.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/start/django-rest.js)_
## start:flux
Start a new React+Flux project
USAGE
$ breathecode start:fluxOPTIONS -b, --branch=branch install a particular branch or version -n, --name=name default: hello-rigo app name -r, --root install on the root directory
_See code: [src/commands/start/flux.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/start/flux.js)_
## start:react
Start a new react project
USAGE
$ breathecode start:reactOPTIONS -b, --branch=branch install a particular branch or version -n, --name=name default: hello-rigo app name -r, --root install on the root directory
_See code: [src/commands/start/react.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/start/react.js)_
## start:vanillajs
Start a new Vanilla.js project
USAGE
$ breathecode start:vanillajsOPTIONS -b, --branch=branch install a particular branch or version -n, --name=name default: hello-rigo app name -r, --root install on the root directory
_See code: [src/commands/start/vanillajs.js](https://github.com/breatheco-de/breathecode-cli/blob/v1.0.2/src/commands/start/vanillajs.js)_
## start:wordpress
Start a new react project
USAGE
$ breathecode start:wordpressOPTIONS -b, --branch=branch install a particular branch or version -n, --name=name default: hello-rigo app name -r, --root install on the root directory ```
See code: src/commands/start/wordpress.js