Skip to content

Feat: Add dryrun flag, Add test, Add task for testing, update readme#5

Merged
dantech2000 merged 7 commits intomainfrom
feature/dry-run
Jul 23, 2025
Merged

Feat: Add dryrun flag, Add test, Add task for testing, update readme#5
dantech2000 merged 7 commits intomainfrom
feature/dry-run

Conversation

@dantech2000
Copy link
Copy Markdown
Owner

Add feature --dry-run flag

  • Allows you get understand what will happen before executing an update-ami

…Add colorful spinner with 10 humorous messages that display randomly while fetching nodegroup information. Messages cycle every 2 seconds to keep users entertained during AWS API calls.
…bility

  - Extract types into internal/types package (NodegroupInfo, AMIStatus, etc.)
  - Create internal/aws package for AWS operations (cluster, nodegroup, ami)
  - Move CLI commands to internal/commands package (list, update, version)
  - Add internal/monitoring package for update progress tracking
  - Create internal/ui package for output formatting and status display
  - Add internal/dryrun package for dry run functionality
  - Reduce main.go from 1256 lines to 27 lines (98% reduction)
  - Maintain all existing functionality and test coverage
  - Follow Go project organization best practices with internal packages
@dantech2000 dantech2000 self-assigned this Jul 23, 2025
@dantech2000 dantech2000 added the enhancement New feature or request label Jul 23, 2025
@dantech2000 dantech2000 merged commit c772b96 into main Jul 23, 2025
2 checks passed
@dantech2000 dantech2000 deleted the feature/dry-run branch July 23, 2025 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant