bc-exercise-cli

Command Line Tool for downloading, coding and runing coding exercises

Usage no npm install needed!

<script type="module">
  import bcExerciseCli from 'https://cdn.skypack.dev/bc-exercise-cli';
</script>

README

bc-exercise-cli

Command Line Tool for downloading, coding and runing coding exercises

oclif Version

Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g bc-exercise-cli
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
bc-exercise-cli/0.7.06 linux-x64 node-v8.11.4
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example run:exercises

Runs a small server with all the exercise instructions

USAGE
  $ oclif-example run:exercises

OPTIONS
  -h, --host=host  [default: 0.0.0.0] server host
  -o, --output     show build output on console
  -p, --port=port  [default: 8080] server port

See code: src/commands/run/exercises.js

oclif-example run:server

Runs a dummy server without any configuration

USAGE
  $ oclif-example run:server

OPTIONS
  -c, --compiler=compiler  compiler type: react, vanillajs, etc.
  -e, --entry=entry        entry file path for the server
  -h, --host=host          [default: 0.0.0.0] server host
  -p, --port=port          [default: 8080] server port

See code: src/commands/run/server.js

oclif-example test:exercise

Run a particular exercise in the browser

USAGE
  $ oclif-example test:exercise

OPTIONS
  -n, --number=number  number of the exercise

See code: src/commands/test/exercise.js