Suggested feature: Add a "get url" command#84
Suggested feature: Add a "get url" command#84rybern wants to merge 4 commits intoDeterminateSystems:mainfrom
Conversation
|
@rybern We talked a bit internally about this and we think that this would be a cool capability to have 😄 We agree that having a dedicated command just for this might be a bit overkill but we think that there might be a broader feature here. More specifically, we think it'd be cool to modify the current fh list versions nixos/nixpkgs "0.2311.*" --limit 1 --columns urlAnd then people can provide their own aliases and such if they want a shortcut to Also, thank you for your kind words about the developer experience! Definitely a major priority for us and yes, aren't direnv and the rest just phenomenal?!?! Hard to imagine anything else at this point. |
|
Sounds good Luc! I was imagining something very short and easy to remember because in my experimentation, that felt like a basic functionality to me, but I absolutely may not be the norm. The example you gave also makes sense to me as part of the existing API. |
Implements #83
This PR adds a new command,
fh get-url, that just prints the URL to stdout. For example:I know I just posted the issue, just thought it'd be fun to write Rust for a minute 😄
As a side note - the development experience jumping into this project was AMAZING! I'm not even familiar with Rust tooling, but I cloned the repo and direnv took care of everything for me. So cool.