@blacklight-cms/cli
v1.5.0
Published
Command line tools for the Blacklight CMS
Downloads
26
Keywords
Readme
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