Skip to content

Commit f8d3ed8

Browse files
authored
Merge pull request #3895 from wp-cli/3728-package-command
Abstract `wp package *` to a separate wp-cli/package-command package
2 parents f2280c8 + 1da363f commit f8d3ed8

File tree

8 files changed

+62
-1589
lines changed

8 files changed

+62
-1589
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"wp-cli/import-command": "^1.0",
3636
"wp-cli/db-command": "^1.0",
3737
"wp-cli/media-command": "^1.0",
38-
"wp-cli/export-command": "^1.0"
38+
"wp-cli/export-command": "^1.0",
39+
"wp-cli/package-command": "^1.0"
3940
},
4041
"require-dev": {
4142
"phpunit/phpunit": "3.7.*",

composer.lock

Lines changed: 54 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/command.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ Feature: WP-CLI Commands
3535
or: wp media regenerate
3636
"""
3737

38+
When I run `wp package`
39+
Then STDOUT should contain:
40+
"""
41+
or: wp package install
42+
"""
43+
3844
Scenario: Invalid class is specified for a command
3945
Given an empty directory
4046
And a custom-cmd.php file:

0 commit comments

Comments
 (0)