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
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.
The text was updated successfully, but these errors were encountered:
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 callargs.name
. Habitat pretty much works this same way with settings. You would havemy_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.
The text was updated successfully, but these errors were encountered: