dfinninger / lita-cmd Goto Github PK
View Code? Open in Web Editor NEWLita handler to run scripts in a directory
License: MIT License
Lita handler to run scripts in a directory
License: MIT License
I would be awesome if this plugin could automagically remove tilde files (my_script~) from the cmd list output ... same goes for files starting and ending with # (all generated by various editors).
Hey,
I wanted to create a more friendly bot interaction, and say things like bot list
(to show list of actions) or bot scriptname
to run the script, or maybe - in cases where the bot has other plugins - to at least have a more fluent sentence when talking to the bot, like bot run list
and bot run myscript
I have committed a version that supports customizing the cmd
prefix by config, if you are interested, I can create a PR.
Option 1 - the simplified-interaction branch with this feature, as created on top of your master
Option 2 - a merged branch of both this feature and my previous PR #5
Works perfectly when the bot is using the :shell handler, but when using :slack sending cmd list to the bot does nothing.
How to pass strings to scripts ? it always explode to args or make nasty looking thing like this:
is there any other way than use regexp in script to get it ?
Thanks in advance
bash based commands seem to work fine, but I have a few ruby based scripts that work from a shell prompt, but can't find required gems when executed through lita-cmd. It's like they have no gem path.
I'm struggling to understand exactly what sort of env is inherited by lita-cmd.
Hi is it possible to display cmd output without [stdout]/[stderr] ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.