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
New command-line interface #66
Comments
Okay, I think the |
Nice thanks !
|
@Daeinar For |
@nikkolasg: So your proposal would be something like
where the optional
Agreed to all the other comments. |
Okay next attempt. Feedback welcome (/cc @nikkolasg @PizzaWhisperer). Should have probably committed a regular markdown file to track diffs, simplify commenting, etc.
|
I'm coding the `update" function (well the beginning of it) and I'm thinking of a simpler way to call that:
If you are an already established drand node, you should not need to specify from which old group you want to reshare, since there's only one and drand already got it saved for you in its folders. If you are a new drand node, you have to specify both since drand does not know any of these two informations. That way we avoid an extra command for "old nodes" to retrieve the path of the old group toml to be able to give it to this drand command (while drand already knows it!). I'm going this way I think for the moment, but please, I'm all ears for suggestions / comments & critics. |
@nikkolasg Sorry I completely missed your message. Yeah I see your point and I agree. Perhaps make the name of the flag a bit more explicit like Alternatively, we could specify the |
The only thing I'm afraid for the alternative with one or two arguments is the order of these arguments. There's no way to check if the client did ordered them correctly or the newgroup is at the first position or not. |
|
Here's a first proposal for a new command-line interface. It still on-going work and some of the optional commands can probably be merged here and there.
The text was updated successfully, but these errors were encountered: