Back to skills
SKILL.md
arrow-cli
ASecurityUse `arrow_cli` to connect to a Flight SQL server and run SQL.
- 13 stars
- 0 votes
- 0 copies
- 2 views
- Added June 5, 2026
Works with
Security analysis
100/100Pro scans all 10 files and shows the line behind each finding
npx -y skills add sundy-li/arrow_cli --agent claude-codeAre you the author of arrow-cli?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sundy-li-arrow-cli)---
name: arrow-cli
description: Use `arrow_cli` to connect to a Flight SQL server and run SQL.
---
# arrow_cli
`arrow_cli` is a command-line client for connecting to a Flight SQL server and executing SQL queries.
## Install
```bash
cargo install arrow_cli
```
After installation, confirm that the binary is available:
```bash
arrow_cli --version
```
## Usage
### Execute one SQL statement and exit
```bash
arrow_cli --host localhost --port 8900 --user admin --password abc --command "select 1"
```
Output:
```text
+----------+
| Int64(1) |
+----------+
| 1 |
+----------+
1 rows in set (tickets received in 0.008 sec, rows received in 0.012 sec)
```
### Pipe SQL through standard input
```bash
echo "select 1" | arrow_cli --host localhost --port 8900 --user admin --password abc
```
### Option: print the result schema
```bash
arrow_cli --host localhost --port 8900 --user admin --password abc --print-schema --command "select 1"
```
Output:
```text
+----------+
| 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)
```
### Option: output formats
- `--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 headers
Run `arrow_cli --help` for more usage details.Files in this skill
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Cargo.toml
- SKILL.md
- rust-toolchain.toml
- src/helper.rs
- src/keywords.txt
- src/main.rs
- src/output.rs
- src/session.rs
Attribution
Comments
Loading comments…