Socket
Socket
Sign inDemoInstall

@blacklight-cms/cli

Package Overview
Dependencies
240
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @blacklight-cms/cli

Command line tools for the Blacklight CMS


Version published
Weekly downloads
4
decreased by-80%
Maintainers
4
Install size
11.9 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 28 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc