Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

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.

VersionLicense

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

About

CLI for Local, the #1 local WordPress development tool

Topics

Resources

Stars

36 stars

Watchers

17 watching

Forks

Releases

Contributors

Languages