Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--porcelain option that prints machine-readable output #138

Open
foriequal0 opened this issue Aug 6, 2020 · 2 comments
Open

--porcelain option that prints machine-readable output #138

foriequal0 opened this issue Aug 6, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@foriequal0
Copy link
Owner

No description provided.

@foriequal0 foriequal0 added the enhancement New feature or request label Aug 6, 2020
@siedentop
Copy link

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?

@foriequal0
Copy link
Owner Author

foriequal0 commented Nov 13, 2020

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.

siedentop pushed a commit to siedentop/git-trim that referenced this issue Nov 14, 2020
Options:
* local branches
* remote branches
* JSON output.

\foriequal0#138
siedentop pushed a commit to siedentop/git-trim that referenced this issue Nov 16, 2020
Options:
* local branches
* remote branches
* JSON output.

\foriequal0#138
siedentop pushed a commit to siedentop/git-trim that referenced this issue Nov 16, 2020
Options:
* local branches
* remote branches
* JSON output.

\foriequal0#138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants