This is great, thank you! Any chance you'd consider making binaries available for download? I wanted to try out the CLI but I haven't used rust before, and I got as far as installing `cargo` via `rustup` but I can't figure out how to download and build the cli.
The badges look great and I love that this is available as both a web service (easy to link to) and as a CLI tool (no risk of depending on your web service).
Oh btw, building the CLI is super easy. If you've already installed Rust using rustup, you can just clone the repository and run `cargo run`. Since the CLI is the only tool that's actually marked as a binary, cargo will automatically build and run that one.
You can then pass parameters like so:
`cargo run -- --label Foo --status Bar --color green`
I'm planning to release the CLI binaries in the future, but for now the CLI isn't all that great. It's still lacking some features that are already implemented in the library and web-service, and I need to update the command-line interface to support them properly.
I managed to fork the repository, set up rust and vscode, and run the CLI. Very cool stuff! I am not a Rust developer, though, so this is a pretty big barrier to entry for me to use the library. If you'd like to make it easier for people to run the code themselves, here's my recommendations:
- Add clear instructions for building/running the code, assuming the developer is already familiar with Cargo. (clone the repo, cd into it, run 'cargo run -- --label Foo --status Bar --color green` like you mentioned in your other comment)
- Add a github action workflow that builds+uploads the binaries as a Github Release, maybe using something like https://github.com/taiki-e/upload-rust-binary-action (I haven't used this but found it with some googling and it looks reasonable)
No need to do either of these things, just my recommendation. Thanks again for releasing such a cool project, very nice work, and best of luck!
My current plan is to just release the cli on crates.io, in addition to the library. Then you could just do `cargo install spacebadgers-cli` and be done with it, no need to fork the repo.
The cli has a pretty good help section, so it should be pretty self-explanatory. If you just run it without arguments, it'll tell you all there is to it.
I'm still figuring out a few things about argument handling and additional options, so for now I haven't been releasing the cli yet (it's still too unstable in terms of consistency between updates).
The badges look great and I love that this is available as both a web service (easy to link to) and as a CLI tool (no risk of depending on your web service).