Skip to content

Creation of an "Args" object #24

@jwoertink

Description

@jwoertink

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions