Skip to content

Support tasks with parameters #3

@jigarius

Description

@jigarius

Requirements

  • function task($fname, $lname = NULL)
    • $lname is treated as an optional argument.
  • An argument named $input gets the Symfony Console $input variable
  • An argument named $output gets the Symfony Console $output variable
    • This makes it easier to print stuff in a fancy way.
  • An argument named $command gets the name of the command.
    • e.g. function hello_world() becomes the command hello-world.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions