Skip to content

Commit 16be7f2

Browse files
Tweaks
1 parent 34cf6e1 commit 16be7f2

3 files changed

Lines changed: 1 addition & 15 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,11 @@ $ wp sqlite export [<file>] [--tables=<tables>] [--exclude-tables] [--porcelain]
4747
Lists the SQLite database tables.
4848

4949
```
50-
$ wp sqlite tables [--pattern=<pattern>] [--format=<list|csv>]
50+
$ wp sqlite tables [--format=<list|csv>]
5151
```
5252

5353
**OPTIONS**
5454

55-
[--pattern=<pattern>]
56-
Filter the list of tables by a wildcard pattern.
57-
5855
[--format=<format>]
5956
Render output in a specific format.
6057
---
@@ -82,11 +79,6 @@ $ wp sqlite tables [--pattern=<pattern>] [--format=<list|csv>]
8279
wp_postmeta
8380
wp_posts
8481
85-
# List all tables matching a wildcard
86-
$ wp sqlite tables "wp_post*"
87-
wp_postmeta
88-
wp_posts
89-
9082
* List all tables in CSV format
9183
$ wp sqlite tables --format=csv
9284
wp_users,wp_usermeta,wp_termmeta,wp_terms,wp_term_taxonomy,wp_term_relationships,wp_commentmeta,wp_comments,wp_links,wp_options,wp_postmeta,wp_posts

‎src/SQLite_Command.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use WP_CLI;
66
use WP_CLI_Command;
7-
use PDO;
87

98
class SQLite_Command extends WP_CLI_Command {
109

‎src/Tables.php‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
use PDO;
77
use WP_SQLite_Translator;
88

9-
/**
10-
* Class Tables
11-
* Handles listing tables in the SQLite database.
12-
*/
139
class Tables extends Base {
1410

1511
protected $translator;
1612
protected $args = array();
17-
protected $is_stdout = false;
1813

1914
public function __construct() {
2015
$this->load_dependencies();

0 commit comments

Comments
 (0)