venat icon indicating copy to clipboard operation
venat copied to clipboard

venat CLI

Open kalilistic opened this issue 3 years ago • 4 comments

ava is excited about this.

kalilistic avatar May 15 '22 20:05 kalilistic

There's a lot of CLI libraries for node so we should probably decide on one. I can think of at least

  • yargs
  • commander
  • minimist
  • argparse off the top of my head - or we can just make our own argument parsing system.

Also, what will the CLI actually do? What features will it need?

NotNite avatar May 20 '22 02:05 NotNite

Some ideas:

  1. help setup development workspace
  2. help self host
  3. help setup/init new module

kalilistic avatar May 20 '22 02:05 kalilistic

I imagine its similar to like CRA. A quick way to bootstrap the bot project for development of your own modules or setting up selfhosting.

venat new ${dir || botname}
venat host ${dir} ${full || standard || barebones}

ArcaneDisgea avatar May 20 '22 02:05 ArcaneDisgea

$ venat new module wowa
Creating new module in modules/venat-module-wowa...
$ venat host -m modules.list
bash: docker: command not found

Something like that, maybe.

karashiiro avatar May 20 '22 03:05 karashiiro