(error: CliError.UserError)
| 1680 | }) |
| 1681 | |
| 1682 | const showUserError = (error: CliError.UserError): Effect.Effect<void> => |
| 1683 | Effect.gen(function*() { |
| 1684 | const formatter = yield* CliOutput.Formatter |
| 1685 | yield* Console.error(formatter.formatError(error)) |
| 1686 | error[Runtime.errorReported] = false |
| 1687 | }) |
| 1688 | |
| 1689 | /** |
| 1690 | * Runs a command using the arguments supplied by the `Stdio` service. |