1.5.0 • Published 5 years ago
@blacklight-cms/cli v1.5.0
Usage:
npm install -g blacklight-cliOptionally, 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 --helpDevelopment
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
1.5.0
5 years ago