Beispiel #1
0
 public void Local(IConsole console, CancellationToken cancellationToken,
                   CommonOptions commonOpts, [Required] Credentials cred,
                   [Required] InstanceIdOptions instanceOpts,
                   [Required] CommonInvokeOptions invokeOptions,
                   [Option('s', Description = "Aggregator rule code."), Required] string source)
 {
     Console.WriteLine($"rule called");
 }
Beispiel #2
0
 public void AzureFunction(IConsole console, CancellationToken cancellationToken,
                           CommonOptions commonOpts, [Required] Credentials cred,
                           [Required] InstanceIdOptions instanceOpts,
                           [Required] CommonInvokeOptions invokeOptions,
                           [Option('a', Description = "Azure DevOps account name."), Required] string account,
                           [Option('n', Description = "Aggregator rule name."), Required] string name)
 {
     Console.WriteLine($"rule called");
 }