Open thehowl opened 9 months ago
Would this replace gnokey
or is the idea to support two tools? I've been using shell scripts to improve UX.
Would this replace
gnokey
or is the idea to support two tools?
For working with http requests in the terminal, the two most used tools are curl
and wget
. Realistically, when working with anything beyond transferring a file, you would use curl
, as its flags and customisation options allow you to do virtually anything. It easily integrates with shell scripts, it is available on a majority of user machines, it does just about everything you could think of in relation to HTTP requests[^1].
But if you're a developer working from the command line, httpie gives you a much faster way to express what you want to do in 99% of cases. (I personally its Go clone as it starts up 30x faster, but I digress). Some people even think Postman is good.
I would see gnokey
vs gnok
as the same. gnokey
is THE tool to access the Gno.land blockchain, and practically you should use it and get acquainted with it first, as nothing that gnok
does cannot be done with gnokey
. However, most of the time you're still doing only a specific subset of things, and I very often find myself just searching through my zsh history to find old gnokey commands I've used. That is the use case I envision for this tool.
On top of this, note that I did not include, for instance, examples on how to generate bip39 keys, or import/export keys, or many other things that gnokey
can do. This is deliberate: if they're rarely used commands anyway, getting a nicer UX for them doesn't serve much of a purpose.
[^1]: though it supports a lot more protocols, I'm just making a metaphor here!
An idea for an experimental tool to improve gnokey UX for developer. Can have interactive feature, meant to avoid boilerplate where possible and long-ass commands.
Integrates also the code of
gnokeykc
to work with the system's keychain.Ideas:
The specific semantics of local/global config will have to be figured out writing the tool
Is there demand for something like this? :)