microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
307 stars 106 forks source link

Feature Request: Ability to run service when invoking the CLI #346

Open ajaffie opened 2 years ago

ajaffie commented 2 years ago

Is your feature request related to a problem? Please describe. When I run the CLI, it opens a command prompt which I then need to type the command to start the service into, e.g. dotnet watch --project MyService.API. It is also quite frustrating sometimes when the new prompt steals focus from whatever I am doing when it starts.

Describe the solution you'd like It would be really useful to be able to pass a command at the end of the CLI invocation like this:

dsc connect <params> -- dotnet watch --project MyService.API

I could add that to my powershell function that passes the correct parameters to dsc based on my current working directory, so I don't need to type out the command in the launched command prompt.