All commands can be called with some additional options illustrated in the table below.
| Name | Description | Required |
|---|---|---|
| -b, --better-feedback | Enables source-map-support and loud-rejection. | No |
| -c, --config | Path to configuration file. | No |
| -d, --directory | Path to working directory. | No |
| -h, --help | Output usage information. | No |
| -V, --verbose | Enable verbose mode. | No |
| -v, --version | Output version number. | No |
Starts the current project.
roc start [artifact]
| Name | Description | Default | Type | Required | Can be empty |
|---|---|---|---|---|---|
| artifact | Path to an artifact to start. | Filepath |
No | Yes |
roc-plugin-start
roc development <command>
Runs tests on the current project.
roc development test [targets]
| Name | Description | Default | Type | Required | Can be empty |
|---|---|---|---|---|---|
| targets | The targets the project should be tested for, overrides the settings if provided | No |
| Name | Description | Default | Type | Required | Can be empty |
|---|---|---|---|---|---|
| --coverage | If coverage reports should be generated for the code. | Boolean |
No | ||
| -g, --grep | Will only run tests that match the given pattern. Will be compiled to a RegExp. | String |
No | Yes | |
| -r, --runtime | If the runtime from roc-plugin-start should be added. | false |
Boolean |
No | |
| -w, --watch | If the tests should run in watch mode. | false |
Boolean |
No |
All groups are available.
roc-abstract-plugin-test, roc-plugin-test-mocha-webpack
Meta commands
roc meta <command>
Meta commands that can be used to generate meta data about the current project.
Generates documentation for the current project.
roc meta docs
| Name | Description | Default | Type | Required | Can be empty |
|---|---|---|---|---|---|
| --html | If HTML should be generated. (Not supported yet) | false |
Boolean |
No | |
| --markdown | If markdown should be generated. | true |
Boolean |
No | |
| --mode | The platform that is to be used, for link generation. | "github.com" |
`/github.com | nodejs.org | bitbucket.org |
| --output | A directory to place the generated documentation inside of. | "docs" |
String |
No | No |
| --project | If the projects configuration and actions should be included. | false |
Boolean |
No |
roc
Prints all the available settings that can be changed.
roc meta list-settings
roc