Open abpwrs opened 1 year ago
Hi @abpwrs! Thanks for the feature request. I can implement this, but first let's come up with a decent CLI option for that.
I can implement something like
$ gto history --show default,author,email
default
referencing to the default column set, so one could select any subset he likes.
WDYT - does it look right or you would suggest some other way to control that?
Hey @aguschin, that seems reasonable to me!
To clarify, if I were to do:
$ gto history --show author
it would only show the author column for each event w/o any other context, correct?
A couple suggestions/thoughts would be:
$ gto history --show all
as a short-hand for all possible columns--format
over --show
(something closer to git log --format
might be more intuitive for gto users that likely already know git)
Would it be possible to add an "author" column to the result of
gto history
?Where "commit" events have the commit author as "author", and for all gto events ("assignment", and "registration") the "author" is the git tag author (might only work for annotated tags and not lightweight).