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.
Make sure you have node 8+
$ node -v
With npm:
$ npm install -g breathecode-cli
OR with yarn:
$ yarn global add breathecode-cli
$ npm install -g breathecode-cli
$ breathecode COMMAND
running command...
$ breathecode (-v|--version|version)
breathecode-cli/1.1.92 linux-x64 node-v10.15.3
$ breathecode --help [COMMAND]
USAGE
$ breathecode COMMAND
...
- breathecode create:exercises
- breathecode download:exercises
- breathecode download:project
- breathecode help [COMMAND]
- breathecode login
- breathecode run:exercises
- breathecode run:server
- breathecode update [CHANNEL]
- breathecode utils:todo
Initialize the boilerplate for creating exercises
USAGE
$ breathecode create:exercises
OPTIONS
-g, --grading=grading Grading type for exercises: [isolated, incremental]
-l, --language=language specify what language you want: [html, css, react, vanilajs, node, python]
See code: src/commands/create/exercises.js
Start a new project using a boilerplate
USAGE
$ breathecode download:exercises
OPTIONS
-m, --mode=mode install a particular branch or version for the boilerplate
-n, --name=name [default: hello-rigo] app folder name
-r, --root install on the root directory
-t, --technology=technology technology, e.g: [dom,html,css,react,python-lists,python-beginner,etc].
ALIASES
$ breathecode start:exercises
See code: src/commands/download/exercises.js
Start a new project using a boilerplate
USAGE
$ breathecode download:project
OPTIONS
-m, --mode=mode install a particular branch or version for the boilerplate
-n, --name=name [default: hello-rigo] app folder name
-r, --root install on the root directory
-t, --technology=technology technology, e.g: [flask,django,react,flux,vanillajs,wordpress,etc].
ALIASES
$ breathecode start:project
See code: src/commands/download/project.js
display help for breathecode
USAGE
$ breathecode help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Login to breathecode
USAGE
$ breathecode login
OPTIONS
-d, --debug debugger mode fro more verbage
-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/login.js
Runs a small server with all the exercise instructions
USAGE
$ breathecode run:exercises
OPTIONS
-d, --debug debugger mode for more verbage
-d, --disable_grading disble grading functionality
-e, --editor=standalone|gitpod [standalone, gitpod]
-g, --grading=isolated|incremental [isolated, incremental]
-h, --host=host server host
-l, --language=language specify what language you want: [html, css, react, vanilajs, node, python]
-p, --port=port server port
See code: src/commands/run/exercises.js
Runs a dummy server without any configuration
USAGE
$ breathecode run:server
OPTIONS
-c, --compiler=compiler compiler type: react, vanillajs, etc.
-e, --entry=entry entry file path for the server
-h, --host=host [default: localhost] server host
-p, --port=port [default: 8080] server port
See code: src/commands/run/server.js
update the breathecode CLI
USAGE
$ breathecode update [CHANNEL]
See code: @oclif/plugin-update
Reads your code looking for //TODO: comments
USAGE
$ breathecode utils:todo
OPTIONS
-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/utils/todo.js