Open foriequal0 opened 4 years ago
I'm thinking about the latter. git-trim
does does many things at once. fetch-prune, detect the base branch, classify, delete branches, etc. I think the core feature of git-trim
is the classifying the branches. I think I'm even able to implement git-trim
with the shell script except the classifier.
So I want to separate and expose core classifier as a cli command (like git status --porclain
) or a library.
However, I don't have a concrete plan to execute. git-trim
is still version 0.x
. It is unstable and possible to change a lot.
Could you describe this in some more detail please?
Do you want more to record the output and then apply them later? Or just output that can be used by piped commands?