nitrictech / cli

Nitric CLI. Manage and run Nitric apps locally and deploy to any cloud.
https://nitric.io
Apache License 2.0
25 stars 10 forks source link

feat: nitric local config with port mapping for apis and websockets #777

Closed davemooreuws closed 2 months ago

davemooreuws commented 2 months ago

closes https://github.com/nitrictech/nitric/issues/560

Adds a new exit service for handling/reacting to errors anywhere in cli.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 12.64368% with 76 lines in your changes missing coverage. Please review.

Project coverage is 2.85%. Comparing base (23246f2) to head (5026a04). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/cloud/gateway/gateway.go 0.00% 36 Missing :warning:
pkg/project/localconfig/localconfig.go 0.00% 24 Missing :warning:
pkg/project/project.go 0.00% 14 Missing :warning:
pkg/cloud/cloud.go 0.00% 1 Missing :warning:
pkg/cloud/sql/sql.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #777 +/- ## ======================================== + Coverage 2.74% 2.85% +0.10% ======================================== Files 80 82 +2 Lines 9064 9121 +57 ======================================== + Hits 249 260 +11 - Misses 8803 8849 +46 Partials 12 12 ``` | [Flag](https://app.codecov.io/gh/nitrictech/cli/pull/777/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nitrictech/cli/pull/777/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech) | `2.85% <12.64%> (+0.10%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

nitric-bot commented 2 months ago

:tada: This PR is included in version 1.51.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: