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

Generate a default arg_name for fields one isn't specified #113

Open
erickt opened this issue Dec 8, 2021 · 0 comments
Open

Generate a default arg_name for fields one isn't specified #113

erickt opened this issue Dec 8, 2021 · 0 comments

Comments

@erickt
Copy link
Collaborator

erickt commented Dec 8, 2021

As suggested in #112 (comment), @richkadel suggested that if a field doesn't have an arg_name specified, we could generate one automatically for it to make it prettier for help messages or redactions. We should consider doing:

  • lower case the field name
  • convert _ to -
  • remove leading _
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

1 participant