Infrastructure Company
Cloud-Native CLI Tool
Summary
We built a Rust-based CLI tool that simplified cloud infrastructure management, reducing deployment time from hours to minutes and becoming an essential part of our client's developer workflow.
The Challenge
Our client’s developers were struggling with their infrastructure management workflow. The existing tooling was a mix of bash scripts, Python utilities, and manual AWS console operations.
They needed:
- A unified CLI for common operations
- Fast execution (the Python tools were slow to start)
- Cross-platform support (Mac, Linux, Windows)
- Self-contained binary with no runtime dependencies
Our Approach
User Research
Before writing code, we shadowed developers to understand their workflows:
- Observed pain points in daily operations
- Catalogued the most common tasks
- Identified opportunities for automation
Design Principles
We established clear design principles:
- Speed: Sub-second startup time
- Ergonomics: Intuitive command structure with helpful errors
- Safety: Destructive operations require confirmation
- Discoverability: Built-in help and examples
Implementation
Command Framework
- Built on clap with custom shell completions
- Consistent error formatting with actionable suggestions
- Progress indicators for long-running operations
AWS Integration
- Async operations with the aws-sdk-rust
- Intelligent caching to minimize API calls
- Automatic credential refresh
Developer Experience
- Syntax-highlighted output
- Interactive mode for complex operations
- Configuration profiles for different environments
Results
The tool transformed the developer experience:
- 10x faster deployments - What took hours now takes minutes
- 5,000+ active users - Adopted across the organization
- 4.8-star rating - In internal developer surveys
- Open sourced - Now maintained by the community
Technologies Used
- Rust with clap for CLI parsing
- tokio + aws-sdk-rust for AWS integration
- crossterm for terminal handling
- indicatif for progress bars
Results
10x
Faster Deployments
5K+
Active Users
4.8★
User Rating