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
I've created a lib to convert Cobra commands to OpenCLI format. It's a Go library you can use in your Golang codebases. As output it's an OpenCLi Specification in Go types or raw yaml bytes.
I've also added a PR to Cobra as an experimental docs output format, but I'm not quite sure if it will be acceptable to maintainers. Nevertheless, a standalone lib is fixing that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've created a lib to convert Cobra commands to OpenCLI format. It's a Go library you can use in your Golang codebases. As output it's an OpenCLi Specification in Go types or raw yaml bytes.
I've also added a PR to Cobra as an experimental docs output format, but I'm not quite sure if it will be acceptable to maintainers. Nevertheless, a standalone lib is fixing that.
Best,
Beta Was this translation helpful? Give feedback.
All reactions