Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getshifter/cli
The Shifter Command Line Interface (CLI) allows you to create, develop, and deploy modern WordPress sites from the terminal.
https://github.com/getshifter/cli
cli jamstack static-site-generator wordpress
Last synced: about 2 months ago
JSON representation
The Shifter Command Line Interface (CLI) allows you to create, develop, and deploy modern WordPress sites from the terminal.
- Host: GitHub
- URL: https://github.com/getshifter/cli
- Owner: getshifter
- Created: 2020-07-06T08:41:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T20:43:30.000Z (2 months ago)
- Last Synced: 2024-10-29T22:51:08.411Z (2 months ago)
- Topics: cli, jamstack, static-site-generator, wordpress
- Language: TypeScript
- Homepage:
- Size: 1.29 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
@shifter/cli
===================The Shifter Command Line Interface (CLI) allows you to create, develop, and deploy modern WordPress sites from the terminal.
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@shifter/cli.svg)](https://npmjs.org/package/@shifter/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@shifter/cli.svg)](https://npmjs.org/package/@shifter/cli)
[![License](https://img.shields.io/npm/l/@shifter/cli.svg)](https://github.com/getshifter/cli/blob/master/package.json)* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ npm install -g @shifter/cli
$ shifter COMMAND
running command...
$ shifter (-v|--version|version)
@shifter/cli/0.1.2 darwin-x64 node-v14.16.1
$ shifter --help [COMMAND]
USAGE
$ shifter COMMAND
...
```# Commands
* [`shifter artifacts:build`](#shifter-artifactsbuild)
* [`shifter artifacts:list`](#shifter-artifactslist)
* [`shifter artifacts:status`](#shifter-artifactsstatus)
* [`shifter domain:add`](#shifter-domainadd)
* [`shifter domain:attach`](#shifter-domainattach)
* [`shifter domain:delete`](#shifter-domaindelete)
* [`shifter domain:detach`](#shifter-domaindetach)
* [`shifter domain:get`](#shifter-domainget)
* [`shifter domain:get-verification-code`](#shifter-domainget-verification-code)
* [`shifter domain:list`](#shifter-domainlist)
* [`shifter help [COMMAND]`](#shifter-help-command)
* [`shifter sites:create`](#shifter-sitescreate)
* [`shifter sites:delete`](#shifter-sitesdelete)
* [`shifter sites:describe`](#shifter-sitesdescribe)
* [`shifter sites:list`](#shifter-siteslist)
* [`shifter sites:start`](#shifter-sitesstart)## `shifter artifacts:build`
Artifacts build command
```
USAGE
$ shifter artifacts:buildOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter artifacts:build --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/artifacts/build.ts](https://github.com/getshifter/cli/blob/main/src/commands/artifacts/build.ts)_
## `shifter artifacts:list`
Artifacts list command
```
USAGE
$ shifter artifacts:listOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter artifacts:list --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/artifacts/list.ts](https://github.com/getshifter/cli/blob/main/src/commands/artifacts/list.ts)_
## `shifter artifacts:status`
Artifacts status command
```
USAGE
$ shifter artifacts:statusOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter artifacts:status --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/artifacts/status.ts](https://github.com/getshifter/cli/blob/main/src/commands/artifacts/status.ts)_
## `shifter domain:add`
Domain registration command
```
USAGE
$ shifter domain:addOPTIONS
-D, --domain=domain target domain name (eg. example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:add --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain test.example.com
```_See code: [src/commands/domain/add.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/add.ts)_
## `shifter domain:attach`
Domain attach command
```
USAGE
$ shifter domain:attachOPTIONS
-D, --domain=domain Target domain name (eg. www.example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--no-shifter-cdn If you using another CDN like Netlify or own CloudFront etc... Please set the flag.
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:attach --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain test.example.comUse own CDN (Netlify or own CloudFront etc...)
$ shifter domain:attach --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain test.example.com
--no-shifter-cdn
```_See code: [src/commands/domain/attach.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/attach.ts)_
## `shifter domain:delete`
Domain delete command
```
USAGE
$ shifter domain:deleteOPTIONS
-D, --domain=domain Target domain name (eg. www.example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:delete --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain
test.example.com
```_See code: [src/commands/domain/delete.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/delete.ts)_
## `shifter domain:detach`
Domain detach command
```
USAGE
$ shifter domain:detachOPTIONS
-D, --domain=domain Target domain name (eg. www.example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--no-shifter-cdn If you using another CDN like Netlify or own CloudFront etc... Please set the flag.
--verbose Show verboseEXAMPLE
$ shifter domain:detach --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain
test.example.com
```_See code: [src/commands/domain/detach.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/detach.ts)_
## `shifter domain:get`
Domain get command
```
USAGE
$ shifter domain:getOPTIONS
-D, --domain=domain target domain name (eg. example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:get --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx --domain test.example.com
```_See code: [src/commands/domain/get.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/get.ts)_
## `shifter domain:get-verification-code`
Domain verification code command
```
USAGE
$ shifter domain:get-verification-codeOPTIONS
-D, --domain=domain target domain name (eg. example.com)
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:get-verification-code --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
--domain test.example.com
```_See code: [src/commands/domain/get-verification-code.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/get-verification-code.ts)_
## `shifter domain:list`
Domain lists command
```
USAGE
$ shifter domain:listOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter domain:list --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/domain/list.ts](https://github.com/getshifter/cli/blob/main/src/commands/domain/list.ts)_
## `shifter help [COMMAND]`
display help for shifter
```
USAGE
$ shifter help [COMMAND]ARGUMENTS
COMMAND command to show help forOPTIONS
--all see all commands in CLI
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_
## `shifter sites:create`
Create a new site
```
USAGE
$ shifter sites:createOPTIONS
-S, --site-name=site-name Shifter site name
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--plan-id=plan-id Shifter plan id
--verbose Show verboseEXAMPLES
Simple usage
$ shifter sites:create --username USERNAME --password PASSWORD --site-name "Name of site"
```_See code: [src/commands/sites/create.ts](https://github.com/getshifter/cli/blob/main/src/commands/sites/create.ts)_
## `shifter sites:delete`
Sites delete command
```
USAGE
$ shifter sites:deleteOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter sites:delete --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/sites/delete.ts](https://github.com/getshifter/cli/blob/main/src/commands/sites/delete.ts)_
## `shifter sites:describe`
Sites describe command
```
USAGE
$ shifter sites:describeOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter sites:describe --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxx
```_See code: [src/commands/sites/describe.ts](https://github.com/getshifter/cli/blob/main/src/commands/sites/describe.ts)_
## `shifter sites:list`
Sites lists command
```
USAGE
$ shifter sites:listOPTIONS
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verboseEXAMPLES
Simple usage
$ shifter sites:list --username USERNAME --password PASSWORD
```_See code: [src/commands/sites/list.ts](https://github.com/getshifter/cli/blob/main/src/commands/sites/list.ts)_
## `shifter sites:start`
describe the command here
```
USAGE
$ shifter sites:start --username USERNAME --password PASSWORD --site-id xxx-YOUR-SITE-ID-xxxxOPTIONS
-S, --site-id=site-id Shifter site id
-U, --username=username Shifter username
-h, --help show CLI help
-v, --version show CLI version
--development Work as development mode (Only for Shifter developer team)
--verbose Show verbose
```_See code: [src/commands/sites/start.ts](https://github.com/getshifter/cli/blob/main/src/commands/sites/start.ts)_