Skip to content

Add method to export list of projects/tasks? #1

@khughitt

Description

@khughitt

Not sure if this is something you think would be worth including in the scope of zeit but, in thinking about how one might go about creating a polybar interface to zeit, one of the first things that would have to be solved is to determine a list of projects/tasks.

It seems like this could probably be parsed from the output of zeit stats, or from a dump from zeit export, but it would be nice if there were a way to do something along the lines of zeit export proj to print a JSON array mapping from projects -> tasks (along with any color assignments or other metadata associated with projects/tasks..)

To give you an idea of what I'm thinking w.r.t to a polybar app, it could look something like:

  1. == z [start]==
  2. clicking "start" shows proj/task selection
    • most likely use fzf to select project -> task
    • drop-downs also a possibility..
    • options displayed using assigned project colors
  3. == tracking [proj | task] 00:01 ==
  4. clicking again will either pause / prompt the user to stop tracking.

Either way, really cool project.

Thanks for taking the time to put this together and share it!

Cheers,
Keith

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions