Skip to content
/ liab-cli Public

A tool for developing nodes on the Lightning In A Bot platform

License

Notifications You must be signed in to change notification settings

lacom/liab-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightning In A Bot CLI

A tool for developing nodes on the Lightning In A Bot platform

Installing

$ sudo npm install liab -g

Requirements

  • Node v >= 4

Documentation

There are 3 commands: create, init, and upload.

Create

Init

Running the init command creates the necessary resources on the server. When the command is run successfully from within a local node directory, it will return a node Id from the server and add it to the .env file. This Id is required in order to upload code updates.

Upload

Runnin the upload command creates the necessary resources locally that are the send to the server. You may use this command is used to update nodes as well. Make sure there is a valid node ID in the config.json file along with valid inputs for updatable keys (code will be updated so long as changes are saved). An example config.json:

{
"id": "56ac2407dbc0091100e9a524",
	"expressions": ["An expression", "another expression"],
	"description": "This is a description",
	"keys": [
  {"name":"count"},
  {
    "name":"datetime",
    "type":"datetime"
  },
  {
    "name":"is_plural",
    "type":"boolean"
  }
]
}
Warning: DO NOT change ID during upload. It will fail to correctly update your node.

About

A tool for developing nodes on the Lightning In A Bot platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published