o3-cli
CI, scaffolding, and automated testing utilities
Last updated 5 months ago by o3worldops .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install o3-cli 
SYNC missed versions from official npm registry.

o3-cli

CI, scaffolding, and automated testing utilities

oclif Version Downloads/week License

Usage

$ npm install -g o3-cli
$ o3-cli COMMAND
running command...
$ o3-cli (-v|--version|version)
o3-cli/2.13.0 linux-x64 node-v8.17.0
$ o3-cli --help [COMMAND]
USAGE
  $ o3-cli COMMAND
...

Commands

o3-cli autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ o3-cli autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ o3-cli autocomplete
  $ o3-cli autocomplete bash
  $ o3-cli autocomplete zsh
  $ o3-cli autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

o3-cli axe

Describe the command here

USAGE
  $ o3-cli axe

OPTIONS
  -n, --name=name  name to print

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/axe.js

o3-cli backstop COMMAND

Run a backstop test.

USAGE
  $ o3-cli backstop COMMAND

ARGUMENTS
  COMMAND  (reference|test|generatetestfile) "reference" to create a snapshot to compare against. "test" to test.
           "generatetestfile" to write a dynamic test to a file

OPTIONS
  -c, --configFile=configFile            [default: tests/backstop/config.js] path to config file
  -d, --dynamic                          run a dynamic test using a remote api for list of urls
  -l, --limit=limit                      (For dynamic tests): limit number of urls returned for a content or post type.

  -m, --menus=menus                      (For dynamic tests): return urls from specific menus. e.g.
                                         --menus=primary,secondary

  -m, --viewports=viewports              Pass comma seperated list: mobile,desktop,tablet

  -p, --content_types=content_types      (For dynamic tests): return urls from specific content types. e.g.
                                         --content_types=page,blog

  -p, --paragraph_types=paragraph_types  (For dynamic tests): return urls of content that contains a paragraph type.

  -r, --referenceUrl=referenceUrl        [default: http://dev-drupal-8-composer-ci.pantheonsite.io] reference url

  -t, --testUrl=testUrl                  [default: https://google.com] test url

  -u, --urlListSource=urlListSource      url list source coming from support module

DESCRIPTION
  ...
  Edit your default settings in .o3-clirc.yaml. Then run:
  $ o3-cli generate config (if you haven't run already)
  $ o3-cli generate tests-backstop (if you have no test config yet)
  $ o3-cli backstop reference
  $ o3-cli backstop test

See code: src/commands/backstop.js

o3-cli backstop-wizard

Describe the command here

USAGE
  $ o3-cli backstop-wizard

OPTIONS
  -u, --o3cli_service_endpoint=o3cli_service_endpoint  url list source coming from support module

DESCRIPTION
  Create a

See code: src/commands/backstop-wizard.js

o3-cli behat

Run behat tests

USAGE
  $ o3-cli behat

OPTIONS
  -n, --name=name  name to print

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/behat.js

o3-cli cypress COMMAND

cypress wrapper with mocha reporter integration

USAGE
  $ o3-cli cypress COMMAND

ARGUMENTS
  COMMAND  (run|open) "run" to run tests with mocha reporter. "open" to open cypress ui.

OPTIONS
  -s, --spec=spec        tests to run relative to o3-clirc.yaml declared cypress_config_path variable
  -t, --testUrl=testUrl  [default: http://dev-drupal-8-composer-ci.pantheonsite.io] test url

DESCRIPTION
  cypress wrapper with mocha reporter integration

See code: src/commands/cypress.js

o3-cli eslint [DIRECTORIES]

Run Eslint code sniffer

USAGE
  $ o3-cli eslint [DIRECTORIES]

ARGUMENTS
  DIRECTORIES  directories

OPTIONS
  -f, --format=format            format
  -i, --ignore-path=ignore-path  ignore

DESCRIPTION
  ...
  "./vendor/bin/Eslint --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md 
  --ignore=node_modules,bower_components,vendor ./web/themes",

See code: src/commands/eslint.js

o3-cli generate BOILERPLATE

Generate circleci or automated tests boilerplates. Run this command from the root of your repo.

USAGE
  $ o3-cli generate BOILERPLATE

ARGUMENTS
  BOILERPLATE  (config|tests-eslint|tests-backstop|tests-cypress|ci-drupal8-composer|ci-drupal8|ci-wordpress|ci-wordpres
               s|ci-npm-publish|ci-heroku) Name of boilerplate directory

See code: src/commands/generate.js

o3-cli help [COMMAND]

display help for o3-cli

USAGE
  $ o3-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

o3-cli phpcs [ROOTDIR]

Run phpcs code sniffer

USAGE
  $ o3-cli phpcs [ROOTDIR]

ARGUMENTS
  ROOTDIR  [default: web/modules/custom,web/themes] Generate CI and automated test boierplates

OPTIONS
  -i, --ignore=ignore          [default: node_modules,bower_components,vendor] ignore
  -s, --standard=standard      [default: Drupal,DrupalPractice] standard
  -x, --extensions=extensions  [default: php,module,inc,install,test,profile,theme,css,info,txt,md] extensions

DESCRIPTION
  ...
  "./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md 
  --ignore=node_modules,bower_components,vendor ./web/themes",

See code: src/commands/phpcs.js

o3-cli phplint [ROOTDIR]

Run php lint

USAGE
  $ o3-cli phplint [ROOTDIR]

ARGUMENTS
  ROOTDIR  [default: web/modules/custom,web/themes] Generate CI and automated test boierplates

OPTIONS
  -x, --exclude=exclude        extensions
  -x, --extensions=extensions  [default: php,module,inc,install,test,profile,theme] extensions

DESCRIPTION
  ...
  "./vendor/bin/phplint",

See code: src/commands/phplint.js

o3-cli phpunit [ROOTDIR]

Run phpunit.

USAGE
  $ o3-cli phpunit [ROOTDIR]

ARGUMENTS
  ROOTDIR  [default: web/core, web/modules/custom] Directories that contain unit tests that need to be run

OPTIONS
  -c, --configuration=configuration  [default: web/core/phpunit.xml.dist] configuration
  -t, --testsuite=testsuite          [default: unit] testsuite

DESCRIPTION
  ...
  Edit your default settings in .o3-clirc.yaml. Then run:
  $ o3-cli phpunit

See code: src/commands/phpunit.js

o3-cli setup

Describe the command here

USAGE
  $ o3-cli setup

OPTIONS
  -u, --o3cli_service_endpoint=o3cli_service_endpoint  url list source coming from support module

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/setup.js

Current Tags

  • 2.13.0                                ...           latest (5 months ago)

23 Versions

  • 2.13.0                                ...           5 months ago
  • 2.12.3                                ...           5 months ago
  • 2.10.0                                ...           5 months ago
  • 2.9.0                                ...           6 months ago
  • 2.8.2                                ...           6 months ago
  • 2.8.1                                ...           6 months ago
  • 2.8.0                                ...           6 months ago
  • 2.7.0                                ...           6 months ago
  • 2.6.0                                ...           6 months ago
  • 2.5.0                                ...           6 months ago
  • 2.4.0                                ...           7 months ago
  • 2.3.0                                ...           7 months ago
  • 2.2.0                                ...           7 months ago
  • 2.1.0                                ...           7 months ago
  • 2.0.2                                ...           7 months ago
  • 1.6.0                                ...           7 months ago
  • 1.5.1                                ...           7 months ago
  • 1.5.0                                ...           7 months ago
  • 1.4.0                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.0                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 23
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |