-
Notifications
You must be signed in to change notification settings - Fork 72
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
Keep command interface #52
Comments
Quick initial 10min run through.
I didn't do much with this one as it will require a bit more thought...
|
Hmm… What was the goal there? Are you showing what the interactions would look like? Or did you have thoughts on what you like and don't like about that interface? |
Lots of great Golang tooling for command line interfaces. You can get really far with the Cobra, urfave/cli, mitchelh/cli and a few other packages help manage the complexity of command line tooling. Those tools are used by docker, coreos, hashicorp, etc. Basically you want to drive consistency in how your command line works (which gets hard to manage if you don't build that stuff upfront). |
@Shadowfiend both |
@Shadowfiend I liked most of what you had, just a few spots where I thought it would be helpful to bring clarity or consistency. Ie. the first thing people experience by typing in |
Got it. It wasn't immediately clear to me what the changes were between what you had and what's in the original description. Do you mind reworking the comment to focus on the differences? Then we can update the description based on agreement/disagreement (basically issue description becomes a sort of final-ish spec). |
Also of note… I went for the shape of |
Ahhh gotcha. That makes more sense and is a relief. |
Basically, focus here is on interface (commands, flags, etc), not documentation. |
I have used urfave/cli it is really solid - I have also coded up this kind of a CLI with just the standard library flag stuff. |
Let's go with |
Going to consider this “good and complete enough” as a discussion and spec-ish. We're making the final moves on the last of the high-level bits here via the Closing! |
Fix dump of MerkleInputTbtcv2Rewards JSON
In the form of
--help
docs:Want to build a quick prototype of this soon so we can actually run it and see how it feels.
See this discussion in Flowdock.
The text was updated successfully, but these errors were encountered: