dotnet / dotnet/command-line-api
How to allow for starting using URI protocol activation?
Open
question
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
With URI protocol activation, the URI of the (custom) protocol will be passed as the first argument on the command line, like this:
```
myapp.exe myscheme://90413064-fa7f-4750-afa6-2f34047042ca
```
How can we best support this in parallel to supporting commands set using `System.CommandLine`, like
```
myapp.exe mycommand --myoption
```
https://docs.microsoft.com/en-us/windows/win32/shell/app-registration
https://blog.magnusmontin.net/2019/05/10/handle-protocol-activation-and-redirection-in-packaged-apps/
Contributor guide
Assessment
This issue has not been assessed yet.