Skip to content

Add version command#31

Closed
nb wants to merge 5 commits intowp-cli:masterfrom
nb:master
Closed

Add version command#31
nb wants to merge 5 commits intowp-cli:masterfrom
nb:master

Conversation

@nb
Copy link
Copy Markdown

@nb nb commented Oct 9, 2011

A version command shows the WordPress version and optionally extra version information (DB revision, all the stuff in version.php)

@scribu
Copy link
Copy Markdown
Member

scribu commented Oct 10, 2011

I think this would make more sense as a subcommand of core:

wp core version

wp core version --extra

Andreas Creten and others added 3 commits October 10, 2011 09:09
@nb
Copy link
Copy Markdown
Author

nb commented Oct 12, 2011

My idea was to be able to hook versions in the command.

Now thinking more of it, it makes more sense to have an info command (like phpinfo()), which can give you various information about the install: versions, paths, stats, caches, stuff like that.

@andreascreten
Copy link
Copy Markdown
Member

Can you make this command a sub command of the core command?

@scribu
Copy link
Copy Markdown
Member

scribu commented Oct 12, 2011

Cherry-picked: 46446f4

@scribu scribu closed this Oct 12, 2011
scribu added a commit that referenced this pull request Oct 12, 2011
scribu added a commit that referenced this pull request Oct 12, 2011
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.

3 participants