Skip to content

Refactor cli#22

Merged
larencozart merged 33 commits intomainfrom
laren/refactor-cli
Apr 6, 2025
Merged

Refactor cli#22
larencozart merged 33 commits intomainfrom
laren/refactor-cli

Conversation

@larencozart
Copy link
Copy Markdown
Contributor

@larencozart larencozart commented Apr 4, 2025

Major changes:

  • agreed on file naming and dir organization with @jq-ln
  • rename files for consistency
  • move files into appropriate directory
  • extract AWS client creation into there own files
  • set region in a region file
  • fix "continent" to "global region"
  • fix ami's to match new offered regions
  • rename AWS resources to match aws styling
  • style console output colors, spacing, and wording
  • added tests to important cli/commands and cli/utils files
  • added tests to aws/AMI, aws/dynamoDB, and a few more files

How to test:

git checkout laren/refactor-cli
npm i
npm run build

npm link
chmod +x dist/cli/cli.js

rabbitory destroy

rabbitory deploy

@larencozart larencozart requested a review from a team April 4, 2025 21:41
Copy link
Copy Markdown
Contributor

@zijin1994 zijin1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked good!!!

@larencozart larencozart merged commit f5676a0 into main Apr 6, 2025
3 checks passed
@larencozart larencozart deleted the laren/refactor-cli branch April 6, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants