Skip to content

Instantly share code, notes, and snippets.

@ryantuck
Last active February 17, 2016 14:51
Show Gist options
  • Save ryantuck/552a5dd2a7a270db5ad0 to your computer and use it in GitHub Desktop.
Save ryantuck/552a5dd2a7a270db5ad0 to your computer and use it in GitHub Desktop.
GTD-inspired inboxing to trello via the command line

wanna do this!?

inbox do something tomorrow that i just remembered about but don't want to leave the command line

install trello-cli

instructions in the readme. they're easy.

https://github.com/brettweavnet/trello_cli

get the board id and list id for your default 'inbox' list

trello board list
trello list list -b <board-id>

create the script

touch /usr/local/bin/inbox
chmod +x /usr/local/bin/inbox

/usr/local/bin/inbox:

#!/bin/bash

# example:
# inbox fix all the stuff

echo $@;

title="";

for i in $@
do
  title="$title $i"
done

board_id="123";
list_id="456";

trello card create -b $board_id -l $list_id -n "$title";

and test!

inbox creating a card to go to my inbox list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment