OSDN Git Service
scribu [Tue, 22 Jan 2013 20:47:19 +0000 (22:47 +0200)]
move special args handling to separate class
scribu [Sun, 20 Jan 2013 17:08:39 +0000 (19:08 +0200)]
make use of defaults
scribu [Sun, 20 Jan 2013 16:35:44 +0000 (18:35 +0200)]
replace WP_CLI_QUIET with WP_CLI::get_config('quiet')
scribu [Sun, 20 Jan 2013 16:30:50 +0000 (18:30 +0200)]
add tests for --quiet flag and don't suppress output on fatal error
scribu [Sun, 20 Jan 2013 04:03:34 +0000 (06:03 +0200)]
add config spec
scribu [Sun, 20 Jan 2013 16:53:28 +0000 (18:53 +0200)]
replace WP_ROOT with ABSPATH
scribu [Sun, 20 Jan 2013 04:05:39 +0000 (06:05 +0200)]
merge back run() method into after_wp_load()
not needed and avoids confusion with run_command()
scribu [Sat, 19 Jan 2013 19:36:05 +0000 (21:36 +0200)]
add --debug global param. fixes #177
scribu [Sat, 19 Jan 2013 19:34:51 +0000 (21:34 +0200)]
fix path to wp-cli.yml. see #267
scribu [Sat, 19 Jan 2013 13:45:52 +0000 (15:45 +0200)]
add --config global parameter. fixes #272
scribu [Sat, 19 Jan 2013 13:19:56 +0000 (15:19 +0200)]
'color', not 'colors'. see #267
scribu [Sat, 19 Jan 2013 13:14:16 +0000 (15:14 +0200)]
add 'color' config option. fixes #267
scribu [Tue, 15 Jan 2013 13:29:49 +0000 (15:29 +0200)]
move run_command() back into the WP_CLI class
scribu [Wed, 2 Jan 2013 23:50:43 +0000 (01:50 +0200)]
scaffold taxonomy: remove control args from defaults
scribu [Wed, 2 Jan 2013 23:49:32 +0000 (01:49 +0200)]
remove unused '<?php' from templates
was only used to get syntax highlighting, when the templates ended in
.php
scribu [Wed, 2 Jan 2013 23:44:58 +0000 (01:44 +0200)]
change template extensions from .php to .mustache, to avoid compatibility issues with pre-commit linters etc.
scribu [Wed, 2 Jan 2013 08:50:34 +0000 (10:50 +0200)]
run preg_replace() only once, on the whole string. see #271
scribu [Wed, 2 Jan 2013 08:48:12 +0000 (10:48 +0200)]
replace just '<?php', instead of ignoring the whole line. fixes #271
Cristi Burcă [Wed, 2 Jan 2013 08:40:04 +0000 (00:40 -0800)]
Merge pull request #269 from wp-cli/cmd-dump
Add --cmd-dump flag
scribu [Wed, 2 Jan 2013 08:33:18 +0000 (10:33 +0200)]
run --cmd-dump without needing WP files
scribu [Wed, 2 Jan 2013 08:15:32 +0000 (10:15 +0200)]
remove site-related utilities (moved to site repo)
scribu [Tue, 1 Jan 2013 22:16:23 +0000 (00:16 +0200)]
use --cmd-dump in compare-cmd
scribu [Tue, 1 Jan 2013 22:04:37 +0000 (00:04 +0200)]
re-generate man pages
Cristi Burcă [Tue, 1 Jan 2013 21:56:57 +0000 (13:56 -0800)]
Merge pull request #199 from wp-cli/scaffold-plugin
Generate code for a plugin
scribu [Tue, 1 Jan 2013 21:17:23 +0000 (23:17 +0200)]
move non-wp-related code out of after_wp_load()
scribu [Tue, 1 Jan 2013 21:03:41 +0000 (23:03 +0200)]
remove intermediate value in cmd_dump()
scribu [Tue, 1 Jan 2013 21:02:42 +0000 (23:02 +0200)]
add 'internal' key and put it to use
scribu [Tue, 1 Jan 2013 20:46:00 +0000 (22:46 +0200)]
convert all top-level command descriptions to the imperative mood
scribu [Tue, 1 Jan 2013 20:00:28 +0000 (22:00 +0200)]
add cmd-list.php utility
scribu [Tue, 1 Jan 2013 19:49:30 +0000 (21:49 +0200)]
move read_json() to separate file
scribu [Tue, 1 Jan 2013 19:44:57 +0000 (21:44 +0200)]
it's actually easier if we pass the whole 'wp' command
scribu [Tue, 1 Jan 2013 18:18:42 +0000 (20:18 +0200)]
synopsis should always be a string
scribu [Tue, 1 Jan 2013 17:37:44 +0000 (19:37 +0200)]
add external syn-list.php utility
scribu [Tue, 1 Jan 2013 16:56:53 +0000 (18:56 +0200)]
replace --syn-list with --cmd-dump
scribu [Tue, 1 Jan 2013 20:35:58 +0000 (22:35 +0200)]
remove @subpackage commands/internals
scribu [Tue, 1 Jan 2013 20:31:20 +0000 (22:31 +0200)]
update top-level command descriptions and move add_command() below the class definitions
scribu [Tue, 1 Jan 2013 12:55:03 +0000 (14:55 +0200)]
always use the plugin slug for the textdomain
scribu [Tue, 1 Jan 2013 12:52:31 +0000 (14:52 +0200)]
add man page for `wp scaffold plugin`
scribu [Tue, 1 Jan 2013 12:46:05 +0000 (14:46 +0200)]
use create_file() for cpt and tax scaffolds
scribu [Tue, 1 Jan 2013 12:28:32 +0000 (14:28 +0200)]
first pass at `wp scaffold plugin`
Cristi Burcă [Tue, 1 Jan 2013 12:19:36 +0000 (04:19 -0800)]
Merge pull request #265 from wp-cli/scaffold-mustache
Use Mustache for scaffold templates
scribu [Tue, 1 Jan 2013 12:18:30 +0000 (14:18 +0200)]
remove @maintainer and @subpackage tags
Cristi Burcă [Tue, 1 Jan 2013 10:08:57 +0000 (02:08 -0800)]
Merge pull request #268 from Automattic/proper-file-version
Require the file based on when the file was actually committed to core.
Daniel Bachhuber [Tue, 1 Jan 2013 00:12:56 +0000 (00:12 +0000)]
Require the file based on when the file was actually committed to core.
scribu [Mon, 31 Dec 2012 19:13:18 +0000 (21:13 +0200)]
pass whole post to get_permalink() and cache the result
scribu [Mon, 31 Dec 2012 19:08:39 +0000 (21:08 +0200)]
use {{label}} instead of {{slug}}, where appropriate
scribu [Mon, 31 Dec 2012 19:06:34 +0000 (21:06 +0200)]
replace {{post_type}} with {{slug}}
scribu [Mon, 31 Dec 2012 17:51:28 +0000 (19:51 +0200)]
transform scaffold raw php templates into mustache templates
* move common code into helper method
* make taxonomy template more consistent with cpt template
* rename --label to --singular
scribu [Mon, 31 Dec 2012 11:30:43 +0000 (13:30 +0200)]
add Mustache dependency
Cristi Burcă [Mon, 31 Dec 2012 15:00:02 +0000 (07:00 -0800)]
Merge pull request #264 from wp-cli/scaffold-cleanup
`scaffold` cleanup
scribu [Mon, 31 Dec 2012 14:42:45 +0000 (16:42 +0200)]
php/commands/skeletons -> php/templates
scribu [Mon, 31 Dec 2012 14:32:35 +0000 (16:32 +0200)]
add man pages
scribu [Mon, 31 Dec 2012 14:26:58 +0000 (16:26 +0200)]
rename --plugin_name arg to --plugin
scribu [Mon, 31 Dec 2012 14:14:00 +0000 (16:14 +0200)]
add shortdesc and mention <slug> in synopsis
scribu [Mon, 31 Dec 2012 14:12:17 +0000 (16:12 +0200)]
spacing fixes
scribu [Mon, 31 Dec 2012 14:10:36 +0000 (16:10 +0200)]
scaffold.php: tabs, not spaces
scribu [Mon, 31 Dec 2012 14:08:37 +0000 (16:08 +0200)]
change alias from 'pt' to 'cpt', which is more familiar
Cristi Burcă [Mon, 31 Dec 2012 14:06:54 +0000 (06:06 -0800)]
Merge pull request #226 from linepress/master
Scaffold command for post type and taxonomy
scribu [Mon, 31 Dec 2012 13:10:01 +0000 (15:10 +0200)]
fix punctuation for deprecation messages
scribu [Mon, 31 Dec 2012 13:08:33 +0000 (15:08 +0200)]
add deprecation warnings for --blog and wp-cli-blog. see #254
scribu [Mon, 31 Dec 2012 13:05:48 +0000 (15:05 +0200)]
s/$blog/$url/
scribu [Mon, 31 Dec 2012 12:51:42 +0000 (14:51 +0200)]
run_command(): make $assoc_args parameter optional
scribu [Mon, 31 Dec 2012 12:46:17 +0000 (14:46 +0200)]
compose_args() -> args_to_str()
scribu [Mon, 31 Dec 2012 12:40:41 +0000 (14:40 +0200)]
move dispatching logic to a standalone utility function
Cristi Burcă [Sun, 30 Dec 2012 13:30:05 +0000 (05:30 -0800)]
Merge pull request #261 from wp-cli/custom-wp-loading
Custom WP Loading
scribu [Sun, 30 Dec 2012 13:06:25 +0000 (15:06 +0200)]
replace __FILE__ and __DIR__ before calling eval()
scribu [Sun, 30 Dec 2012 12:57:36 +0000 (14:57 +0200)]
add test case for custom WP_CONTENT dirs
scribu [Sun, 30 Dec 2012 12:20:58 +0000 (14:20 +0200)]
tests: pass wp-cli command as a parameter
scribu [Sun, 30 Dec 2012 11:25:33 +0000 (13:25 +0200)]
pass WP version to maybe_require()
scribu [Sun, 30 Dec 2012 11:22:27 +0000 (13:22 +0200)]
make wp-settings-cli.php compatible with WP 3.3
scribu [Sun, 30 Dec 2012 11:14:48 +0000 (13:14 +0200)]
add use \WP_CLI\Utils to wp-settings-cli.php
scribu [Sun, 30 Dec 2012 11:13:50 +0000 (13:13 +0200)]
make wp-settings-cli.php compatible with WP 3.4
scribu [Sun, 30 Dec 2012 11:06:02 +0000 (13:06 +0200)]
use our own version of wp_not_installed(). see #93
scribu [Sun, 30 Dec 2012 10:41:25 +0000 (12:41 +0200)]
never load advanced-cache.php. see #164
scribu [Sun, 30 Dec 2012 10:34:41 +0000 (12:34 +0200)]
remove irrelevant checks: wp_favicon_request() and wp_maintenance()
scribu [Sun, 30 Dec 2012 10:20:46 +0000 (12:20 +0200)]
change header for wp-settings-cli.php
scribu [Sun, 30 Dec 2012 10:18:35 +0000 (12:18 +0200)]
copy wp-settings.php from WP 3.5
scribu [Sun, 30 Dec 2012 09:12:37 +0000 (11:12 +0200)]
Tame wp-config.php
Frustratingly, wp-config.php insists on defining ABSPATH and on
require()ing wp-settings.php.
So, we comb through each line of code from wp-config.php, skipping what
we don't like, and then we explicitly eval() the result.
Afterwards, we're free to require() our own version of wp-settings.php
etc.
scribu [Sun, 30 Dec 2012 08:15:05 +0000 (10:15 +0200)]
pass action as message for assertions
scribu [Sun, 30 Dec 2012 08:09:45 +0000 (10:09 +0200)]
add test for when db tables aren't installed
Cristi Burcă [Sun, 30 Dec 2012 08:05:26 +0000 (00:05 -0800)]
Merge pull request #259 from wp-cli/bdd
Switch to BDD
scribu [Sat, 29 Dec 2012 21:06:12 +0000 (23:06 +0200)]
move WP_CLI_Command_Runner class out of bootstrap.php
scribu [Sat, 29 Dec 2012 21:03:14 +0000 (23:03 +0200)]
explicitly test creating config file and running install
scribu [Sat, 29 Dec 2012 20:50:28 +0000 (22:50 +0200)]
Wordpress_Installer + run_wp_cli() = WP_CLI_Command_Runner
scribu [Sat, 29 Dec 2012 20:16:23 +0000 (22:16 +0200)]
break out compose_assoc_args() utility and use in test runner
scribu [Sat, 29 Dec 2012 20:04:38 +0000 (22:04 +0200)]
WP_CLI::compose_args() -> Utils\compose_args()
scribu [Sat, 29 Dec 2012 19:54:52 +0000 (21:54 +0200)]
transform Command_Runner class into run_wp_cli() method
scribu [Sat, 29 Dec 2012 19:28:57 +0000 (21:28 +0200)]
set @scenarion annotation on a single line
scribu [Sat, 29 Dec 2012 19:19:55 +0000 (21:19 +0200)]
PHPUnit_Extensions_Story_ResultPrinter_Text is not that great
scribu [Sat, 29 Dec 2012 19:06:11 +0000 (21:06 +0200)]
dismantle full_install() method
scribu [Sat, 29 Dec 2012 19:01:24 +0000 (21:01 +0200)]
move supporting code to a WP_CLI_Spec class
scribu [Sat, 29 Dec 2012 18:50:52 +0000 (20:50 +0200)]
remove old test cases and move all supporting code to bootstrap.php
scribu [Sat, 29 Dec 2012 18:29:46 +0000 (20:29 +0200)]
more scenarios
scribu [Sat, 29 Dec 2012 18:29:13 +0000 (20:29 +0200)]
add full_install() method to WordPress_Installer
scribu [Sat, 29 Dec 2012 18:10:53 +0000 (20:10 +0200)]
reset database between scenarios
scribu [Sat, 29 Dec 2012 17:31:30 +0000 (19:31 +0200)]
add first scenario
scribu [Sat, 29 Dec 2012 17:30:07 +0000 (19:30 +0200)]
update phpunit.xml to run the spec tests
scribu [Sat, 29 Dec 2012 17:17:43 +0000 (19:17 +0200)]
add phpunit-story as a dev dependency
scribu [Sat, 29 Dec 2012 17:43:08 +0000 (19:43 +0200)]
don't require passing a runner to Wordpress_Installer
scribu [Sat, 29 Dec 2012 17:20:15 +0000 (19:20 +0200)]
remove old core-Test.php file