scribu
5726bd7b90
delete files used for generating pear packages.
...
see #301 . closes #39
2013-02-13 02:45:05 +02:00
Cristi Burcă
3927962302
Merge pull request #301 from wp-cli/phar
...
Distribute as a Phar archive
2013-02-12 16:33:27 -08:00
scribu
fa83262120
allow specifying where to create the phar archive
2013-02-13 02:11:22 +02:00
scribu
512965774c
first pass at creating a Phar archive
2013-02-13 00:14:24 +02:00
scribu
76cc8ae84e
move /templates/ out of /php/ since it doesn't contain PHP files
2013-02-07 03:14:56 +02:00
Cristi Burcă
ebaf64aec3
Merge pull request #285 from drrobotnik/master
...
Added wp scaffold _s
2013-02-06 10:01:46 -08:00
Brandon Lavigne
b72660d85d
added success message if remote request code is 200
2013-02-06 09:51:21 -08:00
Cristi Burcă
f744a558ca
Merge pull request #289 from jmslbam/master
...
Scaffold filename using slug and not machinename
2013-02-06 09:24:58 -08:00
Brandon Lavigne
cef2a1bd9d
fixed undefined variables
2013-02-06 09:20:46 -08:00
Jaime Martinez
3996340876
Changed filename from machinename to slug
...
Because `wp scaffold post-type jm-foo` scaffolds a file name jm_foo.php bacause the machinename hyphens get replaced by underscores.
Same behaviour as the plugin scaffold.
Hyphens should separate words.
2013-02-06 18:16:42 +01:00
Brandon Lavigne
d66c359e75
removed spaces in the synopsis
2013-02-05 18:06:18 -08:00
Brandon Lavigne
2694e58433
added default timeout and generic theme description from author and theme name.
2013-02-05 16:45:44 -08:00
Brandon Lavigne
78d4461491
added man-src page for scaffold _s, tidied up formatting.
2013-02-05 14:17:35 -08:00
Brandon Lavigne
14ff36b2f9
changed shell_exec to properly use wp_remote_post, unzip, and unlink the temp file
2013-02-05 12:06:43 -08:00
Brandon Lavigne
c8a1f349cb
Instead of using bash unzip, using WP_CLI native theme install, with optional activate
2013-02-04 19:40:41 -08:00
Brandon Lavigne
e67558fbea
Added initial version of wp scaffold _s
2013-02-02 16:04:16 -08:00
scribu
77f4a0495a
check that the plugin directory exists. fixes #281
2013-01-27 17:25:30 +01:00
scribu
5401a2b432
PHP files don't need to be executable
2013-01-27 17:19:37 +01:00
scribu
c16f00c375
remove extra tab from extended scaffolds
2013-01-26 04:06:05 +01:00
scribu
540060456f
scaffold plugin: made success msg consistent with other scaffolds
2013-01-26 04:03:24 +01:00
scribu
541f47a6c0
move run_command() back into the WP_CLI class
2013-01-15 15:32:47 +02:00
scribu
ecf32f0464
scaffold taxonomy: remove control args from defaults
2013-01-03 01:50:43 +02:00
scribu
7e451061c5
remove unused '<?php' from templates
...
was only used to get syntax highlighting, when the templates ended in
.php
2013-01-03 01:49:35 +02:00
scribu
39ca79a174
change template extensions from .php to .mustache, to avoid compatibility issues with pre-commit linters etc.
2013-01-03 01:45:00 +02:00
Cristi Burcă
3ca895c2d5
Merge pull request #269 from wp-cli/cmd-dump
...
Add --cmd-dump flag
2013-01-02 00:40:04 -08:00
Cristi Burcă
e1535b59c5
Merge pull request #199 from wp-cli/scaffold-plugin
...
Generate code for a plugin
2013-01-01 13:56:57 -08:00
scribu
22d3cd2535
always use the plugin slug for the textdomain
2013-01-01 14:55:03 +02:00
scribu
863b3863bb
use create_file() for cpt and tax scaffolds
2013-01-01 14:46:05 +02:00
scribu
e1652e256d
first pass at wp scaffold plugin
2013-01-01 14:29:51 +02:00
Cristi Burcă
c69a528472
Merge pull request #265 from wp-cli/scaffold-mustache
...
Use Mustache for scaffold templates
2013-01-01 04:19:36 -08:00
scribu
95fd49b2f5
remove @maintainer and @subpackage tags
2013-01-01 14:18:30 +02:00
scribu
7dc5c0f467
pass whole post to get_permalink() and cache the result
2012-12-31 21:13:18 +02:00
scribu
c6e20e22df
use {{label}} instead of {{slug}}, where appropriate
2012-12-31 21:08:39 +02:00
scribu
64611b2888
replace {{post_type}} with {{slug}}
2012-12-31 21:06:34 +02:00
scribu
f565d8b350
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
2012-12-31 19:51:30 +02:00
scribu
6152b221c7
add Mustache dependency
2012-12-31 17:58:27 +02:00
Cristi Burcă
f895b45c0c
Merge pull request #264 from wp-cli/scaffold-cleanup
...
`scaffold` cleanup
2012-12-31 07:00:02 -08:00
scribu
7cccb9b0d5
php/commands/skeletons -> php/templates
2012-12-31 16:44:24 +02:00
scribu
d098f4e64b
rename --plugin_name arg to --plugin
2012-12-31 16:26:58 +02:00
scribu
68c3caf0dd
add shortdesc and mention <slug> in synopsis
2012-12-31 16:15:31 +02:00
scribu
a91005d414
spacing fixes
2012-12-31 16:15:31 +02:00
scribu
309890d5a7
scaffold.php: tabs, not spaces
2012-12-31 16:15:31 +02:00
scribu
01955ff883
change alias from 'pt' to 'cpt', which is more familiar
2012-12-31 16:15:27 +02:00
Cristi Burcă
823b6dd9b8
Merge pull request #226 from linepress/master
...
Scaffold command for post type and taxonomy
2012-12-31 06:06:54 -08:00
Cristi Burcă
4f565b48d9
Merge pull request #259 from wp-cli/bdd
...
Switch to BDD
2012-12-30 00:05:26 -08:00
scribu
001b02295d
add phpunit-story as a dev dependency
2012-12-29 19:46:58 +02:00
Cristi Burcă
0d3831fbc4
Merge pull request #256 from wp-cli/disable-commands
...
introduce 'disabled_commands' config key
2012-12-29 08:03:29 -08:00
scribu
2383656b3e
move phpunit.xml to the root dir
2012-12-29 17:41:49 +02:00
scribu
7c9db7f437
add phpunit.xml file
2012-12-29 17:38:39 +02:00
jmslbam
7984aea0bc
Implemented --raw flag so that one only gets the registration of a taxonomy or post type WITH labels. Without these you will also get a init and update messages. But I think update messages also need to be a part of the --raw flag
2012-12-29 01:25:46 +01:00