statushero
v0.0.1
Published
Status Hero CLI and API
Downloads
6
Readme
StatusHero
Exceptionally simple CLI and API for updating your status on StatusHero.
CLI
npm install -g statushero
statushero --username [email protected] --password yourpassword -- "what you did yesterday" "plans for today" "optional blockers"
Using New Lines in Status
If you using bash you can insert new lines into your update from the CLI by prefixing the string with a dollar.
statushero --username [email protected] --password yourpassword -- $'- item 1\n- item 2' $'- today 1\n- today 2'
API
var statushero = require('statushero')({
username: '[email protected]',
password: 'yourpassword'
})
var update = {
yesterday: '- yesterday 1\n- yesterday 2',
today: '- today 1\n- today 2',
blockers: 'computer on fire'
}
statushero.updateStatus(update, function (err) { ... })