Ghost-CLI
Just a CLI manager (for a blogging platform)
Installing
npm install -g ghost-cli
Usage:
ghost <command>
NOTE: This CLI is not designed to work with any Ghost versions < 1.0.0
Commands
ghost install [version]
Installs a particular version of Ghost. If no version is specified, the CLI will install the latest available version.
ghost install local
Running ghost install local
is a quick way to set up a development version of ghost on your local environment. This can be useful for theme/adapter development.
Developers
Note: you must have Git installed
- Fork this repo
git clone https://github.com/<your-username>/Ghost-CLI path/to/your/workspace
cd path/to/your/workspace
npm install
You can run the cli one of two ways:
- Manually:
- from the ghost-cli directory:
./bin/ghost <command>
- Using
npm link
:
- from the ghost-cli directory:
npm link
- anywhere on your system:
ghost <command>
Running tests
npm test
Looking for ghost-cli <= 0.0.2?
The npm version of ghost-cli <= 0.0.2 can be found here. Any versions of Ghost-CLI > 1.0.0-alpha.1 are part of this project.