-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Requirements
Allow Phpake callbacks to declare command aliases using a @alias annotation. For example,
# Phpakefile
namespace Input_Output;
/**
* Say hello world.
*
* @alias hhum
* @alias helo
*/
function hello_human() {
echo 'Hello human' . PHP_EOL;
}At the end of all the changes, running phpake input-output:hello-human --help should show the command alias(es) correctly. Running phpake helo should work the same way as phpake input-output::hello-human.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers