🔍
Spectre CLI to generate web & mobile automation projects
Usage
$ npm install -g spectre-cli
$ spectre COMMAND
$ spectre --help`
Commands
spectre create-mobile-project [NAME]
spectre create-page-object [NAME]
spectre create-project [NAME]
spectre create-screen-object [NAME]
spectre create-test [NAME]
spectre help [COMMAND]
spectre create-mobile-project [NAME]
Create a new WDIO project for Mobile
USAGE
$ spectre create-mobile-project [NAME]
ARGUMENTS
NAME Name of the project to be created
OPTIONS
-h, --help show CLI help
See code: src/commands/create-mobile-project/index.ts
spectre create-page-object [NAME]
describe the command here
USAGE
$ spectre create-page-object [NAME]
ARGUMENTS
NAME Name of the page object file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ rdspec create-page-object
Running this add command!
See code: src/commands/create-page-object/index.ts
spectre create-project [NAME]
Create a new WDIO project
USAGE
$ spectre create-project [NAME]
ARGUMENTS
NAME Name of the project to be created
OPTIONS
-h, --help show CLI help
See code: src/commands/create-project/index.ts
spectre create-screen-object [NAME]
describe the command here
USAGE
$ spectre create-screen-object [NAME]
ARGUMENTS
NAME Name of the page object file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ rdspec create-screen-object
Running this add command!
See code: src/commands/create-screen-object/index.ts
spectre create-test [NAME]
Create a new test file
USAGE
$ spectre create-test [NAME]
ARGUMENTS
NAME Name of the test file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ rdspec create-test
<name-of-file-without-extension>
See code: src/commands/create-test/index.ts
spectre help [COMMAND]
display help for spectre
USAGE
$ spectre help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help