Skip to content
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

Populate help text from field comments ? #16

Closed
mohanraj-r opened this issue May 23, 2018 · 1 comment
Closed

Populate help text from field comments ? #16

mohanraj-r opened this issue May 23, 2018 · 1 comment

Comments

@mohanraj-r
Copy link

Neat lib 👍

Wondering if it would be possible to populate the help text of the cli opts based on the comment of the struct field ?

@m0sth8
Copy link
Contributor

m0sth8 commented Jul 14, 2018

HI @mohanraj-r , you can use desc tag or use any tag with DescTag option

@m0sth8 m0sth8 closed this as completed Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants