8000 GitHub - getflywheel/local-cli: CLI for Local, the #1 local WordPress development tool
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
/ local-cli Public archive

CLI for Local, the #1 local WordPress development tool

Notifications You must be signed in to change notification settings

getflywheel/local-cli

Repository files navigation

⚠️   Local CLI is no longer actively maintained.

This software is still free to use under the license provided below, but users should be aware that it is not currently maintained. No additional releases, including security releases, will be made available. Caveat emptor.

Local CLI

CLI for Local, the #1 local WordPress development tool.

⚠️ Note: This CLI is experimental and commands/arguments are subject to change.

Version License

Requirements

  • Local 5.9.2 or newer, which introduced the Local GraphQL API
  • Node.js
  • NPM/Yarn

Usage

$ npm install -g @getflywheel/local-cli
$ local-cli COMMAND
running command...
$ local-cli (-v|--version|version)
@getflywheel/local-cli/0.0.5 darwin-x64 node-v12.13.0
$ local-cli --help [COMMAND]
USAGE
  $ local-cli COMMAND
...

Commands

local-cli help [COMMAND]

display help for local-cli

USAGE
  $ local-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

local-cli list-sites

list all Local sites

USAGE
  $ local-cli list-sites

EXAMPLE
  $ local-cli list

See code: src/commands/list-sites.ts

local-cli start-site SITEID

start a Local site and all of its services

USAGE
  $ local-cli start-site SITEID

EXAMPLE
  $ local-cli start-site 6mC6PsMCh

See code: src/commands/start-site.ts

local-cli stop-site SITEID

stop a Local site and all of its services

USAGE
  $ local-cli stop-site SITEID

OPTIONS
  -h, --help  show CLI help

See code: src/commands/stop-site.ts

0