qo
A task runner for insect people.
install
npm install qo
how to use
Write a file qo.js
:
;
Then
# qo hi hi!
named arguments
;
Then
# qo hi --name jack hi jack
lists of arguments
;
Then
# qo hi jack jill jesse hi jack, jill, jesse
promises
If you return a promise, and it's rejected, then qo
will print the error exit with 1
.
var fs = ; ;
Then
# qo print some-file.txt Error: ENOENT, open 'some-file.txt' at Error
task descriptions
;
Then
# qo tasks: hi, says hi
You can also put descriptive arguments into the task name:
;
Then
# qo tasks: hi <name>, says hi to <name>
pogoscript
you can write a qo.pogo
file too. Pogoscript happens to be very useful for writing heavily asynchronous code, and great for little scripts that get things done.