You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please take a look at https://github.com/jpillora/opts/tree/subcommands (work in progress). I think cue is a fascinating project and happy to contribute (I have started a similar project using protobufs as starting point).
Thought helping move from Cobra to Opts might be a good first start.
One of this nice things about the work in progress on Opts is basic bash, zsh and fish command completion is free and highly customisable for more complex requirements.
The text was updated successfully, but these errors were encountered:
cueckoo
added
the
NotNow
May be considered later, but is too disruptive at this point.
label
Jul 3, 2021
What would be the benefit from moving to jpillora's package?
One reason to use Cobra is that Cobra is used by many of the tools that CUE is likely to be used in concert with (like Kubernetes). For instance, does it use POSIX flag semantics, or Go, or something else?
Also, I prefer to use more stable packages, even if they are less desirable. This package is too young.
But it is worth considering once it stabilises. I expect the command lines options and so on to require an overhaul once they are all defined (make flags consistent). That may be a good point to consider this.
Protobuf support is on the TODO list for CUE. That may be a better focus. :)
Originally opened by @wxio in cuelang/cue#27
Please take a look at https://github.com/jpillora/opts/tree/subcommands (work in progress). I think cue is a fascinating project and happy to contribute (I have started a similar project using protobufs as starting point).
Thought helping move from Cobra to Opts might be a good first start.
Related to #25, #9
One of this nice things about the work in progress on Opts is basic bash, zsh and fish command completion is free and highly customisable for more complex requirements.
The text was updated successfully, but these errors were encountered: