Skip to content

redpandaventures/chassis-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chassis-cli

Command line interface for Chassis

Usage

$ npm install -g chassis-cli
$ chassis COMMAND
running command...
$ chassis (-v|--version|version)
chassis-cli/1.0.0 darwin-x64 node-v10.15.1
$ chassis --help [COMMAND]
USAGE
  $ chassis COMMAND
...

Commands

chassis create

Create a new Chassis project.

USAGE
  $ chassis create

OPTIONS
  -D, --default                                  Create new Chassis project with default settings
  -d, --domain=domain                            Domain for this project
  -e, --extensions=extensions                    Chassis extensions. This flag can be used multiple times.
  -h, --help                                     show CLI help
  -m, --multisite=No|Yes|subdomains              Config multisite
  -n, --name=name                                Name of this project
  -p, --php=5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3|7.4  PHP version
  -s, --skipVagrant                              Skip provisioning

EXAMPLE
  $ chassis create

See code: src/commands/create.ts

chassis destroy

Destroy current chassis VM

USAGE
  $ chassis destroy

EXAMPLE
  $ chassis destroy

See code: src/commands/destroy.ts

chassis extension

Manage Chassis extensions

USAGE
  $ chassis extension

EXAMPLE
  $ chassis extension

See code: src/commands/extension/index.ts

chassis extension:disable

Disable Chassis extensions

USAGE
  $ chassis extension:disable

EXAMPLE
  $ chassis extension:disable

See code: src/commands/extension/disable.ts

chassis extension:enable

Enable Chassis extensions

USAGE
  $ chassis extension:enable

EXAMPLE
  $ chassis extension:enable

See code: src/commands/extension/enable.ts

chassis extension:install

Install Chassis extensions

USAGE
  $ chassis extension:install

EXAMPLE
  $ chassis extension:install

See code: src/commands/extension/install.ts

chassis extension:list

List installed Chassis extensions

USAGE
  $ chassis extension:list

EXAMPLE
  $ chassis extension:list

See code: src/commands/extension/list.ts

chassis extension:update

Update Chassis extensions

USAGE
  $ chassis extension:update

EXAMPLE
  $ chassis extension:update

See code: src/commands/extension/update.ts

chassis help [COMMAND]

display help for chassis

USAGE
  $ chassis help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

chassis log

View chassis logs

USAGE
  $ chassis log

EXAMPLE
  $ chassis log

See code: src/commands/log.ts

chassis php

Change PHP version for current Chassis VM

USAGE
  $ chassis php

EXAMPLE
  $ chassis php

See code: src/commands/php.ts

chassis provision

Provision current chassis VM

USAGE
  $ chassis provision

EXAMPLE
  $ chassis provision

See code: src/commands/provision.ts

chassis restart

Restart current chassis VM

USAGE
  $ chassis restart

EXAMPLE
  $ chassis restart

See code: src/commands/restart.ts

chassis start

Start current chassis VM

USAGE
  $ chassis start

EXAMPLE
  $ chassis start

See code: src/commands/start.ts

chassis status

View chassis logs

USAGE
  $ chassis status

EXAMPLE
  $ chassis status

See code: src/commands/status.ts

chassis stop

Stop current chassis VM

USAGE
  $ chassis stop

EXAMPLE
  $ chassis stop

See code: src/commands/stop.ts

Development

  1. Clone it git clone https://github.com/redpandaventures/chassis-cli.git.
  2. Install it: yarn install.
  3. Link it: npm link.
  4. Run it: chassis