You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

blacklight-cli

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blacklight-cli

Command line tools for the Blacklight CMS

1.4.0
latest
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
3
Weekly downloads
 
Created
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

Package last updated on 22 Jul 2020

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.