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

Automatic help text generation #1

Closed
musaprg opened this issue Aug 4, 2022 · 2 comments
Closed

Automatic help text generation #1

musaprg opened this issue Aug 4, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@musaprg
Copy link

musaprg commented Aug 4, 2022

Hi, thank you for creating this awesome library.

I have one feature request. (it could have already been considered though)
It would be more helpful for users to have automatic help text generation based on configured flags.

Yazap already has a Command.newWithHelpTxt function to set the about field, but currently, it doesn't have any way to output its information except for directly reading about and constructing our own help message by ourselves.

@prajwalch
Copy link
Owner

prajwalch commented Aug 4, 2022

Hey,
It will be definitely implemented 😁 but after v0.1.0 release. The only thing left to implement for v0.1.0 is arg validation and logging errors plus updating/improving README docs and example after that i will start to implement generating help and others.

@prajwalch prajwalch added the enhancement New feature or request label Aug 4, 2022
@prajwalch
Copy link
Owner

prajwalch commented Sep 22, 2022

Hi, thank you for creating this awesome library.

I have one feature request. (it could have already been considered though)
It would be more helpful for users to have automatic help text generation based on configured flags.

Yazap already has a Command.newWithHelpTxt function to set the about field, but currently, it doesn't have any way to output its information except for directly reading about and constructing our own help message by ourselves.

Now auto help message is implemented on a4df0eb with some breaking changes. I forget to mention this issue on commit therefore leaving a comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants