pma-cli

Crates.iopma-cli
lib.rspma-cli
version0.1.3
sourcesrc
created_at2022-10-20 11:29:36.786148
updated_at2022-10-26 08:13:50.92641
descriptionphpmyadmin cli written in Rust
homepage
repositoryhttps://github.com/k-fujino-kohei/phpmyadmin-cli-rs
max_upload_size
id692387
size50,501
Kohei Fujino (k-fujino-kohei)

documentation

README

Crates.io

phpmyadmin-cli-rs

You can use phpmyadmin by command line.

Install

cargo install pma-cli

Usage

Export all tables

pma --url http://localhost export-all --db my_db

Export specified tables

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
Commit count: 15

cargo fmt