bedrock-cli

3.1.0 • Public • Published

bedrock-cli

bedrock-cli is the command line interface to Bedrock.

How to install

npm install -g bedrock-cli

Usage

bedrock upgrade

This command upgrades your current Bedrock project to the latest core Bedrock code. Everything in core/ will be replaced, along with some other files. Your files in content/ will not be changed.

bedrock upgrade --dev

Upgrade referencing Bedrock's develop branch instead of master. Warning: for advanced users only.

bedrock upgrade --canary

Upgrade referencing Bedrock's canary branch instead of master. For those who want to be on the cutting edge.

bedrock init [base]

Initialize a new Bedrock project. You can initialize a Bedrock project from a base where base can be either material or bootstrap4.

Developing the CLI

Test the CLI locally

Use this command (point to the right location):

node ../bedrock-cli/src/cli.js upgrade --dev

Readme

Keywords

none

Package Sidebar

Install

npm i bedrock-cli

Weekly Downloads

2

Version

3.1.0

License

ISC

Unpacked Size

8.4 kB

Total Files

7

Last publish

Collaborators

  • thomastuts
  • wolfr
  • xavez