feat: rewrite entire project from Go to Rust#2
Open
kiro-agent[bot] wants to merge 1 commit into
Open
Conversation
- Replace Go implementation with Rust using AWS SDK for Rust - Use clap for CLI argument parsing (--ou, --as-of, --compared-to, --json, --account-ids) - Use dialoguer for interactive account selection (replaces survey) - Use comfy-table for table output (replaces tablewriter) - Use tokio for async runtime - Maintain same functionality: Organizations listing, OU filtering, Cost Explorer integration, JSON/table output, fallback to STS - Update Makefile with Rust build commands (build/run/clean/test/fmt/lint) - Update .gitignore for Rust artifacts - Update README with Rust installation instructions Co-authored-by: Tori Hara <toricls@hey.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was created by @kiro-agent on behalf of @toricls 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
Complete rewrite of the
acosCLI tool from Go to Rust, maintaining all existing functionality.Changes
flag→clap(derive-based)survey/v2→dialoguertablewriter→comfy-tableaws-sdk-go-v2→ AWS SDK for Rust (aws-sdk-costexplorer,aws-sdk-organizations,aws-sdk-sts,aws-sdk-iam)tokioanyhowserde+serde_jsonFunctionality preserved
--ou) or specific account IDs (--account-ids)GetCallerIdentity+ IAMListAccountAliaseswhen Organizations is unavailable--as-ofand--compared-tooptionsProject structure
Build & run
Notes
--account-ids,--as-of,--compared-to) per Rust CLI conventions