Replies: 2 comments 5 replies
-
I've had my eyes on this project ko1nksm/getoptions for a while and it seems really promising. |
Beta Was this translation helpful? Give feedback.
-
I think this would improve the api of Zgenom but I'm not sure how to implement it without sacrificing backwards compatibility. Obviously we could provide a fallback for the previous api if parsing did fail. But I'm not sure if there is still a benefit of using Edit: Edit 2: Besides from that it could be checked if |
Beta Was this translation helpful? Give feedback.
-
See here for the initial thoughts.
Currently specifying a branch requires to also specify a location since the base pattern is:
zgenom <cmd> <repo> [location] [branch]
It would be nice to be able to express this like this:
zgenom <cmd> <repo> -b [branch]
This parsing could also be used to provide better error messages.
Since sinful defaults can be provided (location:
.
, branch:___
) this should be doable.// cc @kylo252
Beta Was this translation helpful? Give feedback.
All reactions