arrow-cli
星标13
分支3
更新时间2026年7月16日 08:47
Use `arrow_cli` to connect to a Flight SQL server and run SQL.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Use `arrow_cli` to connect to a Flight SQL server and run SQL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | arrow-cli |
| description | Use `arrow_cli` to connect to a Flight SQL server and run SQL. |
arrow_cli is a command-line client for connecting to a Flight SQL server and executing SQL queries.
cargo install arrow_cli
After installation, confirm that the binary is available:
arrow_cli --version
arrow_cli --host localhost --port 8900 --user admin --password abc --command "select 1"
Output:
+----------+
| Int64(1) |
+----------+
| 1 |
+----------+
1 rows in set (tickets received in 0.008 sec, rows received in 0.012 sec)
arrow_cli --host localhost --port 8900 --user admin --password abc --file query.sql
The file content is read as a single SQL statement and executed once, then the CLI exits.
echo "select 1" | arrow_cli --host localhost --port 8900 --user admin --password abc
arrow_cli --host localhost --port 8900 --user admin --password abc --print-schema --command "select 1"
Output:
+----------+
| Int64(1) |
+----------+
| 1 |
+----------+
Schema {
fields: [
Field {
name: "Int64(1)",
data_type: Int64,
},
],
metadata: {},
}
1 rows in set (tickets received in 0.008 sec, rows received in 0.010 sec)
--output table: pretty table output with row count and timing summary--output json: line-delimited JSON rows--output csv: comma-separated rows without headers--output tsv: tab-separated rows without headers--output psv: pipe-separated rows without headersRun arrow_cli --help for more usage details.