Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
scribu merged 1 commit into
masterwp-cli/wp-cli:masterfrom
alias-tagwp-cli/wp-cli:alias-tagCopy head branch name to clipboard
Oct 15, 2012
Merged

Replace get_aliases() with '@alias' tag#186
scribu merged 1 commit into
masterwp-cli/wp-cli:masterfrom
alias-tagwp-cli/wp-cli:alias-tagCopy head branch name to clipboard

Conversation

@scribu

@scribu scribu commented Oct 15, 2012

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.