ghost-bot
A CLI inspired lambda chat bot and CLI. Built with yargs, yargs-promise, and Claudia.js.
Resources
Setup
Install dependencies via yarn:
yarn install
or install dependencies via npm:
npm install
Running locally
To test the command functionality without deploying, run npm link
to link this package to your global npm modules. It's very similar to running npm install -g {packagename}
. (make sure the )
cd ghost-botnpm link ghost --help
From slack
Type out /ghost logs
or /ghost --help
for more info.
Deploying
Create a slack slash command and grab the token - docs
Create the lambda and configure the slash command.
npm run claudia:create
Deploying
npm run claudia:update