blob: 78845189e3b8beaab44724ea0c93206dca14e0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Core.CommandLine
{
using System;
using System.Threading;
using System.Threading.Tasks;
using WixToolset.Extensibility.Data;
using WixToolset.Extensibility.Services;
internal class HelpCommand : ICommandLineCommand
{
public bool ShowLogo => true;
public bool StopParsing => true;
public Task<int> ExecuteAsync(CancellationToken _)
{
Console.WriteLine("TODO: Show list of available commands");
return Task.FromResult(-1);
}
public bool TryParseArgument(ICommandLineParser parseHelper, string argument)
{
return true; // eat any arguments
}
}
}
|