FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
db-command/db-command.php at main · wp-cli/db-command · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
wp-cli
/
db-command
Public
Notifications
You must be signed in to change notification settings
Fork
73
Star
76
Code
Issues
7
Pull requests
5
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
db-command
/
db-command.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (9 loc) · 239 Bytes
Breadcrumbs
db-command
/
db-command.php
Copy path
File metadata and controls
12 lines (9 loc) · 239 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
<?php
if
( !
class_exists
(
'
WP_CLI
'
) ) {
return
;
}
$
wpcli_db_autoloader
=
__DIR__
.
'
/vendor/autoload.php
'
;
if
(
file_exists
(
$
wpcli_db_autoloader
) ) {
require_once
$
wpcli_db_autoloader
;
}
WP_CLI
::
add_command
(
'
db
'
,
'
DB_Command
'
);
Back
|
FazBrowse Home
|
New Git URL