{"id":19459546,"url":"https://github.com/sundy-li/arrow_cli","last_synced_at":"2025-04-25T07:31:59.604Z","repository":{"id":147913611,"uuid":"618651681","full_name":"sundy-li/arrow_cli","owner":"sundy-li","description":"A Native client talk with server in Flight SQL protocol","archived":false,"fork":false,"pushed_at":"2024-08-14T07:02:22.000Z","size":42,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-14T13:36:41.412Z","etag":null,"topics":["arrow","cli","flight","flight-sql"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sundy-li.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["sundy-li"]}},"created_at":"2023-03-25T00:31:08.000Z","updated_at":"2024-09-24T22:30:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2ce57a1-98c2-4c27-bf59-9d266be52841","html_url":"https://github.com/sundy-li/arrow_cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"Xuanwo/formwork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Farrow_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Farrow_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Farrow_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundy-li%2Farrow_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundy-li","download_url":"https://codeload.github.com/sundy-li/arrow_cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223988620,"owners_count":17236926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrow","cli","flight","flight-sql"],"created_at":"2024-11-10T17:33:00.828Z","updated_at":"2024-11-10T17:33:01.490Z","avatar_url":"https://github.com/sundy-li.png","language":"Rust","readme":"# arrow_cli \u0026emsp; \n\n[![Build Status](https://github.com/sundy-li/arrow_cli/actions/workflows/ci.yml/badge.svg)](https://github.com/sundy-li/arrow_cli/actions/workflows/ci.yml)\n[![](https://img.shields.io/crates/v/arrow_cli.svg)](https://crates.io/crates/arrow_cli)\n[![](https://img.shields.io/crates/d/arrow_cli.svg)](https://crates.io/crates/arrow_cli)\n\n\n## Overview\n\narrow_cli is a CLI tool for interacting with server in Flight SQL protocol.\n\n## Install \n\n```sh\ncargo install arrow_cli\n```\n\n## Usage\n\n```\n\u003e arrow_cli --help\nUsage: arrow_cli \u003c--user \u003cUSER\u003e|--password \u003cPASSWORD\u003e|--host \u003cHOST\u003e|--port \u003cPORT\u003e\u003e\n```\n\n## Examples\n\n### REPL\n```sql\n❯ arrow_cli -h arch -u sundy -p abc --port 8900\nWelcome to Arrow CLI.\nConnecting to http://arch:8900/ as user sundy.\n\narch :) select avg(number) from numbers(10);\n\nselect avg(number) from numbers(10);\n\n+-------------+\n| avg(number) |\n+-------------+\n| 4.5         |\n+-------------+\n\n1 rows in set (0.036 sec)\n\narch :) show tables like 'c%';\n\nshow tables like 'c%';\n\n+-------------------+\n| tables_in_default |\n+-------------------+\n| customer          |\n+-------------------+\n\n1 rows in set (0.030 sec)\n\narch :) exit\nBye\n```\n\n### StdIn Pipe\n\n```bash\n❯ echo \"select number from numbers(3)\" | arrow_cli -h arch -u sundy -p abc --port 8900\n0\n1\n2\n```\n\n## Features\n\n- basic keywords highlight\n- basic auto-completion\n- select query support\n- TBD\n\n#### License\n\n\u003csup\u003e\nLicensed under \u003ca href=\"./LICENSE\"\u003eApache License, Version 2.0\u003c/a\u003e.\n\u003c/sup\u003e\n","funding_links":["https://github.com/sponsors/sundy-li"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundy-li%2Farrow_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundy-li%2Farrow_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundy-li%2Farrow_cli/lists"}