Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Separate flag handlers #1277

Merged

Conversation

haricnugraha
Copy link
Contributor

Monika Pull Request (PR)

What feature/issue does this PR add

To ease the transition to multi-command (#1154). These changes extracted the log, flush, and summary flag handlers into its own file.

How to test

  • Run npm start
  • Run npm start -- --summary
  • Run npm start -- --logs
  • Run npm start -- --flush --force
  • Run npm test

Screenshot

Screenshot 2024-04-18 at 4 37 15 PM

@haricnugraha haricnugraha marked this pull request as ready for review April 18, 2024 09:49
src/flag.ts Show resolved Hide resolved
Copy link
Contributor

@dennypradipta dennypradipta left a comment

Choose a reason for hiding this comment

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

All the flags are working. LGTM
image

@haricnugraha haricnugraha merged commit 95e46b4 into hyperjumptech:main Apr 19, 2024
5 checks passed
@haricnugraha haricnugraha deleted the refactor/separate-flag-handler branch April 19, 2024 09:29
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.

3 participants