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

CLI: Print unknown argument errors #2252

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

ccntrq
Copy link
Contributor

@ccntrq ccntrq commented Mar 5, 2024

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Minor improvement

Description

All other validation errors are handled and printed in cliApp.ts:83. These errors were previously not printed and silently returned to the user on the error channel. We should either print all validation errors or handle all of them silently and leave printing/reporting to the caller. This commit implements the former option.

Related

  • Related Issue #
  • Closes #

All other validation errors are handled and printed in cliApp.ts:83.
These errors were previously not printed and silently returned to the
user on the error channel. We should either print all validation errors
or handle all of them silently and leave printing/reporting to the
caller. This commit implements the former option.
@ccntrq ccntrq requested a review from IMax153 as a code owner March 5, 2024 10:08
Copy link

changeset-bot bot commented Mar 5, 2024

🦋 Changeset detected

Latest commit: 95554ca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@effect/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@IMax153 IMax153 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you @ccntrq 👍

@IMax153 IMax153 merged commit 89b5d1c into Effect-TS:main Mar 5, 2024
12 checks passed
@github-actions github-actions bot mentioned this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants