o3-cli
CI, scaffolding, and automated testing utilities
Last updated 12 days 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.4.0 linux-x64 node-v8.16.2
$ o3-cli --help [COMMAND]
USAGE
  $ o3-cli COMMAND
...

Commands

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) "reference" to create a snapshot to compare against. "test" to test!

OPTIONS
  -c, --configFile=configFile      [default: tests/backstop/config.js] path to config file
  -r, --referenceUrl=referenceUrl  [default: http://dev-drupal-8-composer-ci.pantheonsite.io] reference url
  -t, --testUrl=testUrl            [default: https://google.com] test url

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 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]

Describe the command here

USAGE
  $ o3-cli cypress [COMMAND]

ARGUMENTS
  COMMAND  (run) Generate a starter test config

OPTIONS
  -t, --testUrl=testUrl  [default: http://dev-drupal-8-composer-ci.pantheonsite.io] test url

DESCRIPTION
  ...
  Extra documentation goes here

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

Current Tags

  • 2.4.0                                ...           latest (12 days ago)

13 Versions

  • 2.4.0                                ...           12 days ago
  • 2.3.0                                ...           14 days ago
  • 2.2.0                                ...           a month ago
  • 2.1.0                                ...           a month ago
  • 2.0.2                                ...           a month ago
  • 1.6.0                                ...           a month ago
  • 1.5.1                                ...           a month ago
  • 1.5.0                                ...           a month ago
  • 1.4.0                                ...           a month ago
  • 1.3.0                                ...           a month ago
  • 1.2.0                                ...           a month ago
  • 1.1.0                                ...           a month ago
  • 1.0.0                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 23
Last Day 0
Last Week 0
Last Month 144
Dependencies (27)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |