Skip to content

Replace get_aliases() with '@alias' tag#186

Merged
scribu merged 1 commit into
masterfrom
alias-tag
Oct 15, 2012
Merged

Replace get_aliases() with '@alias' tag#186
scribu merged 1 commit into
masterfrom
alias-tag

Conversation

@scribu
Copy link
Copy Markdown
Member

@scribu scribu commented Oct 15, 2012

The WP_CLI_Command::get_aliases() method is kind of clunky, because it's a method that just returns a literal array and it's disconnected from the subcommands in question.

Having an @alias set tag in the method's doc would make more sense, since the alias would automatically have a target.

scribu added a commit that referenced this pull request Oct 15, 2012
@scribu scribu merged commit db8ab9d into master Oct 15, 2012
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

Successfully merging this pull request may close these issues.

1 participant