OSDN Git Service
scribu [Sun, 26 May 2013 16:57:09 +0000 (19:57 +0300)]
clarify that only the bash code was copied from drush
Cristi Burcă [Sat, 25 May 2013 11:29:35 +0000 (04:29 -0700)]
Merge pull request #469 from cyberhobo/tax-scaffold-multiple-cpts
Correct taxonomy scaffold code for multiple post types.
Dylan Kuhn [Sat, 25 May 2013 01:22:52 +0000 (18:22 -0700)]
combine similar custom taxonomy tests
Cristi Burcă [Fri, 24 May 2013 23:37:03 +0000 (16:37 -0700)]
Merge pull request #470 from wp-cli/loggers
Move logging functionality to separate classes
scribu [Fri, 24 May 2013 23:11:12 +0000 (02:11 +0300)]
don't use is_wp_error() in error_to_string()
We want to be able to use it without WP being installed.
scribu [Fri, 24 May 2013 22:42:56 +0000 (01:42 +0300)]
keep error_to_string() calls inside WP_CLI
They assume WP is loaded, by calling is_wp_error().
scribu [Fri, 24 May 2013 22:36:07 +0000 (01:36 +0300)]
Loggers\Regular: don't expose $handle parameter
Dylan Kuhn [Fri, 24 May 2013 15:46:13 +0000 (08:46 -0700)]
add an EXAMPLES section that features the --post_types parameter
scribu [Fri, 24 May 2013 13:29:23 +0000 (16:29 +0300)]
add back WP_CLI::out(), just to prevent fatal errors
scribu [Fri, 24 May 2013 12:43:11 +0000 (15:43 +0300)]
introduce WP_CLI\Loggers namespace
Dylan Kuhn [Thu, 23 May 2013 17:49:43 +0000 (10:49 -0700)]
Remove unnecessary comment.
Dylan Kuhn [Thu, 23 May 2013 17:49:18 +0000 (10:49 -0700)]
Restore accidentally deleted man page.
Dylan Kuhn [Thu, 23 May 2013 17:19:30 +0000 (10:19 -0700)]
Correct taxonomy scaffold code for multiple post types.
Cristi Burcă [Wed, 22 May 2013 18:36:48 +0000 (11:36 -0700)]
Merge pull request #462 from wp-cli/mustache-man
Use Mustache templates for man markdown
scribu [Wed, 22 May 2013 13:04:19 +0000 (16:04 +0300)]
search-replace: add test for --skip-columns
see #464
scribu [Wed, 22 May 2013 12:59:50 +0000 (15:59 +0300)]
search-replace: the --dry-run flag should be last
Cristi Burcă [Wed, 22 May 2013 12:57:49 +0000 (05:57 -0700)]
Merge pull request #464 from cyberhobo/sr-no-guids
Add a search-replace option to skip guids.
Dylan Kuhn [Tue, 21 May 2013 03:57:40 +0000 (20:57 -0700)]
Specify any columns to be skipped.
Dylan Kuhn [Mon, 20 May 2013 23:29:22 +0000 (16:29 -0700)]
Add a search-replace option to skip guids.
scribu [Mon, 20 May 2013 15:59:06 +0000 (18:59 +0300)]
blog: explain logic behind multisite condition
The `function_exists( 'add_filter' )` part tests that WordPress is loaded.
scribu [Mon, 20 May 2013 15:13:31 +0000 (18:13 +0300)]
re-generate man pages
scribu [Mon, 20 May 2013 14:59:38 +0000 (17:59 +0300)]
introduce man.mustache
scribu [Mon, 20 May 2013 14:47:40 +0000 (17:47 +0300)]
help --gen: add test for combined man pages
scribu [Mon, 20 May 2013 14:31:42 +0000 (17:31 +0300)]
convert Scaffold_Command->render() to Utils\mustache_render()
Cristi Burcă [Mon, 20 May 2013 14:30:21 +0000 (07:30 -0700)]
Merge pull request #356 from wp-cli/freeman
Generate man pages without a WP install
scribu [Mon, 20 May 2013 14:21:17 +0000 (17:21 +0300)]
merge man.php into commands/help.php
scribu [Mon, 20 May 2013 13:53:44 +0000 (16:53 +0300)]
help --gen: add test for third-party commands
scribu [Mon, 20 May 2013 12:56:44 +0000 (15:56 +0300)]
help --gen: add test for multisite-only subcommands
scribu [Mon, 20 May 2013 12:20:49 +0000 (15:20 +0300)]
wp help: update man page
scribu [Mon, 20 May 2013 12:20:07 +0000 (15:20 +0300)]
convert `wp --man` to `wp help --gen`
scribu [Sat, 11 May 2013 21:01:10 +0000 (00:01 +0300)]
don't attempt to export $COLUMNS
First of all, it's not used by wp-cli (php-cli-tools calls tput
directly).
Second of all, $COLUMNS is a shell variable, so it wouldn't be available via
PHP's getenv() normally. In other words, calling tput directly is the
correct solution.
Cristi Burcă [Sun, 19 May 2013 23:10:16 +0000 (16:10 -0700)]
Merge pull request #461 from wp-cli/post-list
post list: show post status by default
scribu [Sun, 19 May 2013 21:34:04 +0000 (00:34 +0300)]
post create: include --post_date in example
closes #282
scribu [Sun, 19 May 2013 21:20:48 +0000 (00:20 +0300)]
post list: update man page
scribu [Sun, 19 May 2013 21:09:59 +0000 (00:09 +0300)]
post list: show post status by default
Yes, we have --fields, but useful defaults matter.
The post status helps to remind users that they might want to filter the list further.
see #422
Cristi Burcă [Sun, 19 May 2013 21:09:29 +0000 (14:09 -0700)]
Merge pull request #460 from wp-cli/man-refactor
Improve man page generation
scribu [Sun, 19 May 2013 20:12:01 +0000 (23:12 +0300)]
help: add test for --help
scribu [Sun, 19 May 2013 20:04:46 +0000 (23:04 +0300)]
remove old db man pages
scribu [Sun, 19 May 2013 20:03:13 +0000 (23:03 +0300)]
create empty home.txt file, so that `wp home --man` works
scribu [Sun, 19 May 2013 19:59:07 +0000 (22:59 +0300)]
create empty help.txt file, so that `wp help --man` works
scribu [Sun, 19 May 2013 19:51:30 +0000 (22:51 +0300)]
reduce code duplication by merging show_help_early() into Help_Command
scribu [Sun, 19 May 2013 19:29:07 +0000 (22:29 +0300)]
move --man handling to _run_command() so that `wp db --man` works
scribu [Sun, 19 May 2013 19:22:10 +0000 (22:22 +0300)]
rename InternalAssoc to InternalFlags
'flags' is more descriptive than 'assoc'
Cristi Burcă [Sun, 19 May 2013 19:12:57 +0000 (12:12 -0700)]
Merge pull request #452 from wp-cli/tests-cleanup
Remove temporary files after succesfully running tests
scribu [Sun, 19 May 2013 19:06:20 +0000 (22:06 +0300)]
behat: remove temp files for scenarios that don't have failing steps
Cristi Burcă [Sun, 19 May 2013 18:33:15 +0000 (11:33 -0700)]
Merge pull request #459 from wp-cli/json-format
Convert from --json to --format=json
scribu [Sun, 19 May 2013 18:23:25 +0000 (21:23 +0300)]
unset 'json' key, not 'ids'
scribu [Sun, 19 May 2013 18:21:09 +0000 (21:21 +0300)]
re-generate man pages
[ci skip]
scribu [Sun, 19 May 2013 18:08:39 +0000 (21:08 +0300)]
user-meta: add tests
scribu [Sun, 19 May 2013 18:07:11 +0000 (21:07 +0300)]
behat: formatting fixes
scribu [Sun, 19 May 2013 18:06:55 +0000 (21:06 +0300)]
behat: work around bug in WP 3.4.2 related to serializing custom fields
scribu [Sun, 19 May 2013 16:57:52 +0000 (19:57 +0300)]
unlike `wp option`, `wp post-meta` outputs confirmation messages
scribu [Sun, 19 May 2013 16:52:23 +0000 (19:52 +0300)]
save parent class in Subcommand
ReflectionMethod only stores the name of the original class, which might
be abstract.
scribu [Sun, 19 May 2013 16:40:31 +0000 (19:40 +0300)]
add --format parameter to meta get and update
scribu [Sat, 18 May 2013 16:16:57 +0000 (19:16 +0300)]
post-meta: add tests
scribu [Sat, 18 May 2013 16:04:42 +0000 (19:04 +0300)]
option: add tests
scribu [Sat, 18 May 2013 15:35:43 +0000 (18:35 +0300)]
transparently convert from --json to --format=json
scribu [Sat, 18 May 2013 15:28:56 +0000 (18:28 +0300)]
post get: default to table format. see #399
Cristi Burcă [Sat, 18 May 2013 14:22:43 +0000 (07:22 -0700)]
Merge pull request #458 from wp-cli/core-version-check
Update to /version-check/1.6/
scribu [Sat, 18 May 2013 14:13:40 +0000 (17:13 +0300)]
core download: update to /version-check/1.6/
scribu [Sat, 18 May 2013 13:31:23 +0000 (16:31 +0300)]
test wp core download --locale
scribu [Sat, 18 May 2013 13:38:13 +0000 (16:38 +0300)]
travis: make Behat output less verbose
Cristi Burcă [Tue, 14 May 2013 22:06:07 +0000 (15:06 -0700)]
Merge pull request #451 from wp-cli/behat-refactor
Get rid of "Then it should run without errors" step
scribu [Tue, 14 May 2013 21:11:50 +0000 (00:11 +0300)]
try the --activate flag for `wp scaffold plugin` one more time
scribu [Tue, 14 May 2013 20:59:55 +0000 (23:59 +0300)]
behat: move plugin dir acquiring to the 'Given' block
scribu [Tue, 14 May 2013 20:46:09 +0000 (23:46 +0300)]
behat: more misc fixes
scribu [Tue, 14 May 2013 20:44:07 +0000 (23:44 +0300)]
behat: move theme dir acquiring to the 'Given' block
scribu [Tue, 14 May 2013 20:35:46 +0000 (23:35 +0300)]
behat: misc fixes
scribu [Tue, 14 May 2013 19:14:42 +0000 (22:14 +0300)]
behat: fix theme test
scribu [Tue, 14 May 2013 18:55:03 +0000 (21:55 +0300)]
don't create a new test dir if one already exists
this allows having nested WP installs
scribu [Tue, 14 May 2013 13:28:41 +0000 (16:28 +0300)]
add success message for `wp theme delete`
scribu [Tue, 14 May 2013 13:14:22 +0000 (16:14 +0300)]
behat: remove "it should run without errors" step
introduce "try `cmd`" steps.
Cristi Burcă [Tue, 14 May 2013 11:17:54 +0000 (04:17 -0700)]
Merge pull request #444 from wp-cli/scaffold-tests
Some scaffold tests
scribu [Tue, 14 May 2013 11:08:41 +0000 (14:08 +0300)]
behat: reorganize common cpt and tax setup
jmslbam [Mon, 13 May 2013 20:54:23 +0000 (22:54 +0200)]
Added plugin_name arg
jmslbam [Mon, 13 May 2013 20:45:36 +0000 (22:45 +0200)]
Split up plugin activation
scribu [Mon, 13 May 2013 11:11:20 +0000 (14:11 +0300)]
Merge branch 'fix-447'
Jaime Martinez [Mon, 13 May 2013 07:26:51 +0000 (09:26 +0200)]
Plugin scaffold typo fix for Behat test
jmslbam [Sun, 12 May 2013 23:11:11 +0000 (01:11 +0200)]
Added scaffold plugin activation test
jmslbam [Sun, 12 May 2013 22:58:12 +0000 (00:58 +0200)]
Added behat test for plugin scaffolding
jmslbam [Sun, 12 May 2013 22:52:13 +0000 (00:52 +0200)]
Added tags
jmslbam [Sun, 12 May 2013 22:29:45 +0000 (00:29 +0200)]
Added child-theme behat test
jmslbam [Sun, 12 May 2013 21:05:21 +0000 (23:05 +0200)]
Added trailing slash to WP_CONTENT_DIR Fixes #446
jmslbam [Sun, 12 May 2013 21:02:20 +0000 (23:02 +0200)]
Merged CPT and Tax test
Cristi Burcă [Sun, 12 May 2013 16:42:33 +0000 (09:42 -0700)]
Merge pull request #449 from wp-cli/verbose-export
Introduce `wp export --verbose`
scribu [Sun, 12 May 2013 16:37:31 +0000 (19:37 +0300)]
export: add smoke test
scribu [Sun, 12 May 2013 16:29:34 +0000 (19:29 +0300)]
export: document --verbose parameter
[ci skip]
scribu [Sun, 12 May 2013 16:26:55 +0000 (19:26 +0300)]
export: show parameters sent to export_wp() only if --verbose is set
scribu [Sun, 12 May 2013 16:25:31 +0000 (19:25 +0300)]
export: more indentation fixes
scribu [Sun, 12 May 2013 13:37:13 +0000 (16:37 +0300)]
make is_absolute_path() work on Windows paths
fixes #447
scribu [Sun, 12 May 2013 13:22:29 +0000 (16:22 +0300)]
add deprecation message for WP_CLI::addCommand()
closes #448
scribu [Sat, 11 May 2013 21:11:04 +0000 (00:11 +0300)]
stop after finding the first Composer autoloader.
Otherwise, could get fatal errors, such as "Cannot redeclare
cli\register_autoload()".
Unfortunately, this also means that suggested packages will be ignored,
if there's a local vendor dir present.
scribu [Sat, 11 May 2013 20:28:24 +0000 (23:28 +0300)]
autoload from local vendor dir, then from global
This allows running `composer update` on the spot and without switching the wp-cli repo
back to the master branch.
This also allows using suggested packages from a super-project (most
common being ~/.composer).
scribu [Sat, 11 May 2013 20:27:19 +0000 (23:27 +0300)]
switch back to our fork of php-cli-tools
scribu [Fri, 10 May 2013 22:03:35 +0000 (01:03 +0300)]
simplify 'file should exist' step definition
jmslbam [Thu, 9 May 2013 16:20:27 +0000 (18:20 +0200)]
Added CPT creation
jmslbam [Thu, 9 May 2013 00:39:02 +0000 (02:39 +0200)]
Using stylesheetpath because it gets them path and active theme at once
jmslbam [Mon, 22 Apr 2013 22:50:10 +0000 (00:50 +0200)]
Added CPT and TAX --flags test and TAX --theme test
Cristi Burcă [Fri, 10 May 2013 17:56:11 +0000 (10:56 -0700)]
Merge pull request #442 from tolgap/master
Implement list command for theme and plugin
tolgap [Fri, 10 May 2013 13:16:31 +0000 (15:16 +0200)]
Force the version field if not exist so it shows up in the table