FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
extension-command/features/plugin-status.feature at main · wp-cli/extension-command · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
wp-cli
/
extension-command
Public
Notifications
You must be signed in to change notification settings
Fork
87
Star
90
Code
Issues
2
Pull requests
2
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
extension-command
/
features
/
plugin-status.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (25 loc) · 681 Bytes
Breadcrumbs
extension-command
/
features
/
plugin-status.feature
Copy path
File metadata and controls
29 lines (25 loc) · 681 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Feature
:
List the status of plugins
@require-wp-4.0
Scenario
:
Status should include drop-ins
Given
a WP install
And
a wp-content/db-error.php file:
"""
<?php
"""
When
I try `wp plugin status`
Then
STDOUT should contain:
"""
D db-error.php
"""
And
STDOUT should contain:
"""
D = Drop-In
"""
Scenario
:
Plugin status command is deprecated
Given
a WP install
When
I try `wp plugin status`
Then
STDERR should contain:
"""
Warning: The `plugin status` command is deprecated. Use `wp plugin list` or `wp plugin get <plugin>` instead.
"""
And
the return code should be 0
Back
|
FazBrowse Home
|
New Git URL