Skip to content

Add flags and options #476

@casey

Description

@casey

Recipes should be able to define options:

foo --bar BAZ:
  echo {{BAZ}}

Maybe flags too:

foo --BAZ:
  echo {{BAZ}} # is it "true" or "false"? Or "" or BAZ?

Large changes to the parsing of recipe parameters like this should be considered holistically, along with other possible changes, like $ to support exporting parameters as environment variables, or changing all just variables to being environment variables.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions