Crates.io | pma-cli |
lib.rs | pma-cli |
version | 0.1.3 |
source | src |
created_at | 2022-10-20 11:29:36.786148 |
updated_at | 2022-10-26 08:13:50.92641 |
description | phpmyadmin cli written in Rust |
homepage | |
repository | https://github.com/k-fujino-kohei/phpmyadmin-cli-rs |
max_upload_size | |
id | 692387 |
size | 50,501 |
You can use phpmyadmin by command line.
cargo install pma-cli
pma --url http://localhost export-all --db my_db
pma --url http://localhost export table_1 table_2 --db my_db
Options are as follows
Usage: pma --url <URL> export [OPTIONS] --db <DB> [TABLES]...
Arguments:
[TABLES]... Export the specified table names
Options:
-a, --all-data
Include all data
-d, --data <table name>
Include data in the specified table names
--data-prefix <table name prefix>
Include data from a table with conditions matching the specified prefix
-o, --output <OUTPUT>
Destination of exported data [default: ./]
-s, --separate-files
Separate exported data
-h, --help
Print help information
Required:
--db <DB> Database name