-
Notifications
You must be signed in to change notification settings - Fork 18
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
Allow to set the name of a pin #89
Comments
You can already pass from the README:
|
Oh, its not listed when doing Funny that |
It doesn't even work, unless use between
|
I am not sure that is currently possible with the |
Have you considered using an actively developed library, like claps? The |
Last time I tried to migrate the derive based API was missing some feature that we are using. I've not tried since. If you dare to try please go ahead. Happy to migrate but I can't dedicate that amount of time right now. |
I don't think this is possible within the framework of clap, and structopt is just a proc macro frontend for that. You can mark flags as global, but there is no way to make them only propagate down in one direction |
Thanks @NobbZ for posting how to actually do it! I couldn't figure it out at all :( |
sometimes I want to add repos with complicated names and have them simpler in the repo, sometimes I use prefix strings to filter and autogenerate drvs.
For those situations it would be nice if it was possible to provide a
--name
flag when adding.Currently I work around that missing flag by manually editing the
sources.json
.The text was updated successfully, but these errors were encountered: