← Browse

@sundy-li/arrow-cli

A

Use `arrow_cli` to connect to a Flight SQL server and run SQL.

skillclaude

Install

agr install @sundy-li/arrow-cli --target claude

Writes 8 files into .claude/skills/, pinned to git-e843a97a.

  • .claude/skills/arrow-cli/.gitignore
  • .claude/skills/arrow-cli/CODE_OF_CONDUCT.md
  • .claude/skills/arrow-cli/CONTRIBUTING.md
  • .claude/skills/arrow-cli/Cargo.toml
  • .claude/skills/arrow-cli/LICENSE
  • .claude/skills/arrow-cli/README.md
  • .claude/skills/arrow-cli/SKILL.md
  • .claude/skills/arrow-cli/rust-toolchain.toml

Document


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

cargo install arrow_cli

After installation, confirm that the binary is available:

arrow_cli --version

Usage

Execute one SQL statement and exit

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)

Execute SQL from a file and exit

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.

Pipe SQL through standard input

echo "select 1" | arrow_cli --host localhost --port 8900 --user admin --password abc

Option: print the result schema

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)

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.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-e843a97a93e12026-07-31