Feature request: Command line interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
One of my most-used applications is xterm (well, actually gnome-terminal). If I have a way to avoid switching one hand between the keyboard and mouse or pad it would be nice (as also most laptop users would agree).
I think it would be great if it were possible to do some operations with GTG using the command line interface. Add is already available through gtg_new_task, but it opens up a *WINDOW* (which you then have to look for the "save" button). Writing something such as gtg_new_task "Buy beer" seems a bit of a mouthful (sure, I can assign gtg_new_task with an alias), but what about marking an item as "done" or even listing them?
I agree that there are other CLI-based programs doing it, but due to GTG's integration with Gnome, I'm wondering if this feature makes sense in the program's context and whether it fits as an internal feature or as a plugin.
Changed in gtg: | |
importance: | Undecided → High |
assignee: | nobody → Bryce Harrington (bryce) |
milestone: | none → 0.2.9 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
There is already a new gtcli command line utility included. It talks across dbus to a running gtg.
bryce@blumonc: ~/src/gtg/ gtg$ ./gtcli
gtcli -- a command line interface to gtg
Options:
-h, --help This help
Basic commands: <filter> |<tag>] ... List tasks <filter> |<tag>] ... Number of tasks <filter> |<tag>] ... Report how many tasks starting/due each day
gtcli new Create a new task
gtcli show <tid> Display detailed information on given task id
gtcli edit <tid> Opens the GUI editor for the given task id
gtcli delete <tid> Removes task identified by tid
gtcli list [all|today|
gtcli count [all|today|
gtcli summary [all|today|
gtcli postpone <tid> <date> Updates the start date of task
gtcli close <tid> Sets state of task identified by tid to closed
gtcli browse [hide|show] Hides or shows the task browser window
http:// gtg.fritalk. com/