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

Allow providing a path to --open-browser #143

Merged
merged 4 commits into from
Jun 25, 2023
Merged

Allow providing a path to --open-browser #143

merged 4 commits into from
Jun 25, 2023

Conversation

natemcmaster
Copy link
Owner

@natemcmaster natemcmaster commented Jun 25, 2023

What

Change --open-browser to a SingleOrNoValue option type.

Why

This allows users to give the starting path to be launched.

Closes #141

Testing

did lots of manual testing of combinations of CLI + .netconfig files to validate it opens the browser to the path given.

@codecov
Copy link

codecov bot commented Jun 25, 2023

Codecov Report

Merging #143 (c174bbb) into main (6f65405) will decrease coverage by 0.04%.
The diff coverage is 23.80%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
- Coverage   26.87%   26.84%   -0.04%     
==========================================
  Files          17       17              
  Lines         640      652      +12     
==========================================
+ Hits          172      175       +3     
- Misses        468      477       +9     
Impacted Files Coverage Δ
src/dotnet-serve/SimpleServer.cs 0.00% <0.00%> (ø)
src/dotnet-serve/Program.cs 53.65% <30.76%> (-2.10%) ⬇️
src/dotnet-serve/CommandLineOptions.cs 64.21% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@weitzhandler
Copy link

weitzhandler commented Jun 25, 2023

Thank you! Please add this to your post:
Closes #141

@natemcmaster natemcmaster merged commit 2741f03 into main Jun 25, 2023
@natemcmaster natemcmaster deleted the open-browser branch June 25, 2023 15:32
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.

Enable setting open browser starting address
2 participants