This package has been deprecated

Author message:

Package moved to @blacklight-cms/cli

blacklight-cli

1.4.0 • Public • Published

Usage:

npm install -g blacklight-cli

Optionally, add the following to your .bash_profile to activate the blcd helper command:

blcd(){
    cd `bl module folder $1`
}

Do a test run of bl command and see available directives:

bl --help

Development

In order to run your local development branch of blacklight-cli from the command line while you have a production version installed, you can add the following bash function to your bash_profile:

bl-dev() {
    node '${PATH_TO_BLACKLIGHT_CLI}' "$@"
}

Replace ${PATH_TO_BLACKLIGHT_CLI} with the path to your working blacklight-cli directory.

Example:

bl-dev() {
    node '/home/myusername/projects/blacklight-cli' "$@"
}

TODO:

  • ImageMagic setup
  • Setup initial root content entry for site (with jcr:content of type bl/site), so it shows up in the "pm" content tree
  • Upadate package.json and index.js to point to "blacklight-core"
  • Write sublime project file, as part of creation

Readme

Keywords

none

Package Sidebar

Install

npm i blacklight-cli

Weekly Downloads

12

Version

1.4.0

License

ISC

Unpacked Size

130 kB

Total Files

59

Last publish

Collaborators

  • aaronharder
  • calebweeksentropy
  • cory.bryant