- Notifications
You must be signed in to change notification settings - Fork0
getshifter/cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Shifter Command Line Interface (CLI) allows you to create, develop, and deploy modern WordPress sites from the terminal.
$npm install -g @shifter/cli$shifter COMMANDrunning command...$shifter (-v|--version|version)@shifter/cli/0.1.2 darwin-x64 node-v14.16.1$shifter --help [COMMAND]USAGE $ shifter COMMAND...
shifter artifacts:build
shifter artifacts:list
shifter artifacts:status
shifter domain:add
shifter domain:attach
shifter domain:delete
shifter domain:detach
shifter domain:get
shifter domain:get-verification-code
shifter domain:list
shifter help [COMMAND]
shifter sites:create
shifter sites:delete
shifter sites:describe
shifter sites:list
shifter sites:start
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
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
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
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
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.com Use 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
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
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
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
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
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
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
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
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
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
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
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
About
The Shifter Command Line Interface (CLI) allows you to create, develop, and deploy modern WordPress sites from the terminal.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.