ultralist
ultralist copied to clipboard
Reorder columns
Can I change the output of the listed todo items?
I'm using it with FZF and would like to show the task content in the second column.
I'm a programmer so I'm happy to contribute to the project if possible.

Hi Josh! I have a fairly large rewrite of a bunch of the internal components of Ultralist. once that lands, I think it'd be relatively easy to add functionailty here to accomplish that.
The syntax could probably look like this:
ultralist l columns:id,completed,due,subject,projects,contexts
If you want to implement after my PR is merged, the steps you'd need to take are something like this:
- add a
columns
array of strings to the Filter struct, - populate the Filter with the
InputParser
(see how it's done forprojects
orcontexts
to get an idea of how we'd do it forcolumns
) - pass the
filter
struct into theScreenPrinter
which could act on which columns were chosen.
I'm hoping to have my big PR done this week. After that, if you want to take a crack at it, feel free!
oh and btw :100: for the fzf
idea!