2015-06-15 15:13:05 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-10-27 12:32:58 -04:00
|
|
|
if [ "$1" = "usage" ]
|
|
|
|
then
|
|
|
|
echo ' addp PRIORITY "THING I NEED TO DO +project @context"'
|
|
|
|
echo " add an item with priority PRIORITY"
|
|
|
|
exit 0
|
|
|
|
fi
|
2015-06-15 15:13:05 -04:00
|
|
|
shift
|
|
|
|
|
2016-10-27 12:24:08 -04:00
|
|
|
pri="$(tr '[:lower:]' '[:upper:]' <<< $1)"
|
2015-06-15 15:13:05 -04:00
|
|
|
shift
|
|
|
|
|
|
|
|
"$TODO_FULL_SH" command add "($pri) $@"
|