assistant-adapter-shell
v0.1.0
Published
Connect a shell to an Assistant
Downloads
3
Readme
Assistant Adapter for a Shell
Assistant is a self-hosted bot service similar to Hubot (except it's not written in coffeescript!) that executes arbitrary commands to perform certain actions with a variety of adapters to allow it to run on any platform, simultaneously.
This is the shell
adapter, which allows you to interact with your assistant through a super-simple interactive CLI.
$ npm install --save assistant-adapter-shell
It's not designed to be programatic. Just interactive. It's for you, the developer, not the script~er.
To get started, add the following to your assistant's package.json
:
{
"scripts": {
"shell": "assistant-shell"
},
"assistant-adapters": {
"shell": "assistant-adapter-shell"
}
}
Next, install the relevant adapter like usual. Then, make sure your assistant is running (usually npm start
) and
execute the shell with npm run shell
:smile:
When you're done, leave the shell with exit
or quit
.