Socket
Socket
Sign inDemoInstall

candy-cli

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    candy-cli

A CLI for Candy.


Version published
Maintainers
1
Install size
159 kB
Created

Readme

Source

candy-cli

A command line interface for Candy.

Setup

  1. Run npm i candy-cli -g (or yarn global add candy-cli).
  2. Set optional environment values.
  3. Done!

Environment values

  • CANDY_URL (optional) - Custom URL of Candy. (ex. ws://192.168.2.1:4540) (default: ws://localhost:4540)

Commands

  • reference - Displays the specified reference. (ex. candy reference /helloWorld)
  • list - Lists and seperates catalogs and references in the specified catalog. (ex. candy list /)
  • create - Creates a reference or catalog. (ex. candy create reference /helloWorld, candy create reference /helloWorld "# Hi!", candy create catalog /helloCatalog)
  • edit - Edits and existing reference. (ex. candy edit /helloWorld "# Hi!\n\nHello!\n")

FAQs

Last updated on 18 Feb 2018

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