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

Creation of an "Args" object #24

Open
jwoertink opened this issue Sep 21, 2023 · 0 comments
Open

Creation of an "Args" object #24

jwoertink opened this issue Sep 21, 2023 · 0 comments

Comments

@jwoertink
Copy link
Member

Following #23

We had some discussions about the method names that get generated on to the task. What if we moved all of these methods in to a new "Args" object. So instead of calling name from --name you'd call args.name. Habitat pretty much works this same way with settings. You would have my_thing.settings.name, or whatever the setting is.

This would also have the added benefit of being able to override the names for your own custom methods, or possibly add additional validation type functions.

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