organic-angel

0.6.2 • Public • Published

organic-angel v0.7.0

Angel as concept derrives from bots. It can be understood also as command line assistant.

Docs

example in directory/myproject

0. install organic-angel

$ npm install organic-angel --save-dev
$ npm install angelabilities-package-scripts --save-dev

1. create ./scripts/time.js file

module.exports = async function(angel){
  angel.on("what is the :topic", async function(angel){
    if(angel.cmdData.topic == "time")
      console.log("The time is "+(new Date()).toString())
    else
      console.error("sorry, not recognized topic " + angel.cmdData.topic)
  })
}

Finally at the command line

$ npx angel what is the time

Abilities

Scripts

Readme

Keywords

none

Package Sidebar

Install

npm i organic-angel

Weekly Downloads

39

Version

0.6.2

License

MIT

Unpacked Size

19 kB

Total Files

20

Last publish

Collaborators

  • outbounder