candy-cli
v1.1.0
Published
A CLI for Candy.
Readme
candy-cli
A command line interface for Candy.
Setup
- Run
npm i candy-cli -g(oryarn global add candy-cli). - Set optional environment values.
- 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")
