Browse Source

watch cli parameter is now an array of service names instead of a bool flag

pull/1568/head
razvan.goga@gmail.com 3 years ago
parent
commit
dd0568ec49
  1. 10
      src/tye/Program.RunCommand.cs

10
src/tye/Program.RunCommand.cs

@ -3,11 +3,9 @@
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.Tye.Hosting;
@ -56,7 +54,7 @@ namespace Microsoft.Tye
{
Arity = ArgumentArity.ZeroOrMore,
},
Description = "Wait for debugger attach to specific service. Specify \"*\" to wait for all services.",
Description = $"Wait for debugger attach to specific service. Specify {ProcessRunnerOptions.AllServices} to wait for all services.",
Required = false
},
new Option("--docker")
@ -71,7 +69,11 @@ namespace Microsoft.Tye
},
new Option("--watch")
{
Description = "Watches for code changes for all dotnet projects.",
Argument = new Argument<string[]>("service")
{
Arity = ArgumentArity.ZeroOrMore,
},
Description = $"Watches a specific dotnet service for code changes. Specify {ProcessRunnerOptions.AllServices} to watch for all dotnet services.",
Required = false
},
StandardOptions.Framework,

Loading…
Cancel
Save