| Crates.io | athena-cli |
| lib.rs | athena-cli |
| version | 0.3.1 |
| created_at | 2025-02-27 11:04:36.922581+00 |
| updated_at | 2025-04-17 07:29:50.744758+00 |
| description | A command-line interface for AWS Athena with interactive query execution and result management |
| homepage | |
| repository | https://github.com/Andyhoang/athena-cli |
| max_upload_size | |
| id | 1571609 |
| size | 1,175,813 |
A command-line interface tool written in Rust for interacting with AWS Athena, providing a streamlined experience similar to the Athena web console.
cargo install --path .config.example.toml to ~/.config/athena-cli/config.toml and update with your settingsathena-cli query "SELECT * FROM table" - Execute a queryathena-cli database list - List available databasesathena-cli table list - List tables in a databaseathena-cli table describe <table-name> - Describe table structureathena-cli workgroup list - List available workgroupsathena-cli history - Show recent queriesathena-cli inspect <query-id> - Show detailed information about a queryathena-cli inspect <query-id> -o <path> - Inspect query and download resultsathena-cli download <query-id> - Download query results (shortcut for inspect with download)For configuration, edit ~/.config/aws-athena-cli/config.toml to set:
For detailed documentation and examples, see the Documentation.
Contributions are welcome! Please feel free to submit a Pull Request.
pip install pre-commit
pre-commit install
The pre-commit hooks will automatically:
cargo fmtcargo check to ensure compilationcargo clippy --fix