nickgerace / gfold

CLI tool to help keep track of your Git repositories, written in Rust
https://crates.io/crates/gfold
Apache License 2.0
308 stars 20 forks source link

Json output #176

Closed AckslD closed 2 years ago

AckslD commented 2 years ago

Really great project! :)

What do you think about having an option to output as json. This would make it easy/ier to integrate with other tools/scripts.

nickgerace commented 2 years ago

Sure thing! I'll investigate. This is actually why the "display" domain is separated from results production. I think I can do it.

AckslD commented 2 years ago

Great! :)

Btw, I was playing around with making an neovim plugin based on gfold. It's currently WIP but was curious if you have some thoughts about it.

https://github.com/AckslD/nvim-gfold.lua

Currently I just wrote a very simple python script to parse the output of gfold to json but would remove that if we can directly get json.

Edit: I changed the parsing to be done in lua instead.

Edit: I recently announced nvim-gfold.lua on reddit :)

nickgerace commented 2 years ago

@AckslD I missed your edits until I came back just now! What a great project! I'll open another issue to include your project in the README. Thank you very much for sharing both projects to others.