feat(cli): add arv developer CLI with Rich terminal UI - #196
Merged
Merged
Conversation
- Add arv command-line tool with validate, inspect, generate, list, and version subcommands
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.
Summary
Implements Feature 1: Developer CLI with Rich Terminal UI (
arv) to provide developers with instant terminal validation, pattern inspection, and test data generation for AWS resource names without needing to write ad-hoc Python scripts or wait for infrastructure deployment failures.Key Features
arv validate <service> <shape> <value> [--strict] [--json]: Validates candidate names against botocore patterns, length bounds, and optional--strictend-to-end matching. Provides clear pass/fail status badges and diagnostics.arv inspect <service> [shape] [--json]: Displays botocore types, min/max length limits, regex patterns, and synthetic examples in styled Rich panels or tables.arv generate <service> <shape> [--count N] [--plain] [--json]: Generates compliant synthetic test names, supporting formatted tables as well as raw one-per-line (--plain) output for shell scripting.arv list [service] [--search TEXT] [--json]: Discovers registered AWS services and their validated shape counts.arv version: Displays package version, Python version, and dependency info.Improvements & Resilience
difflibsuggestions on typos.class_registryensuresarv --helpstarts in <50ms.typerandrichto core[project.dependencies].tests/unit/cli/covering all commands, diagnostics, and resolution edge cases.