I’m using semantic versioning now, so I bumped from 1.0.7 to 1.1.0 after adding a few tweaks to the command-line interface. Then I discovered a silly mistake in the setup.py file, and released 1.1.1. Then I realized I did the fix wrong, and then released 1.1.2 a few minutes later.
The –quick option
Normally, running pitz-add-task will prompt for a title and then open $EDITOR so I can write a description. After that, pitz will ask for choices for milestone, owner, status, estimate, and tags.
Sometimes I want to make a quick task without getting prompted for all this stuff.
I already had a --no-description option that would tell pitz-add-task to not open $EDITOR for a description. And I already had a --use-defaults option to just choose the default values for milestone, owner, status, estimate, and tags.
But when I just want to make a quick to-do task as a placeholder, writing out all this stuff:
$ pitz-add-task --no-description --use-defaults -t "Fix fibityfoo"
is kind of a drag. So I made a --quick option (also available as -q) that does the same thing as --no-description --use-defaults.
The -1 alias for –one-line-view
This is the typical way that a to-do list looks:
$ pitz-my-todo -n 3
==============================
slice from To-do list for matt
==============================
(3 task entities, ordered by ['milestone', 'status', 'pscore'])
Write new CLI scripts (witz!) to talk to pitz-webapp 9f1c76
matt | paused | difficult | 1.0 | 1
webapp, CLI
Starting up and loading all the pitz data at the beginning of ever...
Experiment with different task summarized views 0f6fee
matt | unstarted | straightforward | 1.0 | 1
CLI
Right now, the summarized view of a task looks a little like this:...
Add more supported URLs to pitz-webapp 295b5f
matt | unstarted | straightforward | 1.0 | 0
webapp
I want to allow these actions through the webapp: * Insert a ne...
Incidentally, notice the -n 3 option limits the output to the first three tasks.
Tasks also have a one-line view:
$ pitz-my-todo -n 3 --one-line-view
==============================
slice from To-do list for matt
==============================
(3 task entities, ordered by ['milestone', 'status', 'pscore'])
Write new CLI scripts (witz!) to talk to pitz-webapp 9f1c76
Experiment with different task summarized views 0f6fee
Add more supported URLs to pitz-webapp 295b5f
Typing out --one-line-view is tedious, so now, -1 is an alias that works as well:
$ pitz-my-todo -n 3 -1
==============================
slice from To-do list for matt
==============================
(3 task entities, ordered by ['milestone', 'status', 'pscore'])
Write new CLI scripts (witz!) to talk to pitz-webapp 9f1c76
Experiment with different task summarized views 0f6fee
Add more supported URLs to pitz-webapp 295b5f
Add New Comment
Viewing 4 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment