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

Support tasks with no parameters #1

Closed
3 tasks done
jigarius opened this issue Oct 3, 2021 · 0 comments
Closed
3 tasks done

Support tasks with no parameters #1

jigarius opened this issue Oct 3, 2021 · 0 comments
Assignees

Comments

@jigarius
Copy link
Owner

jigarius commented Oct 3, 2021

Requirements

  • Callback should be called correctly
  • _ in function name becomes - in command name
  • Function doc block becomes command description

Example

# Phpakefile
/**
  * Short description.
  *
  * Long description.
  */
function hello_world() {}

# Command
phpake hello-world
@jigarius jigarius self-assigned this Oct 3, 2021
@jigarius jigarius closed this as completed Oct 5, 2021
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