aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Data
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/Data')
-rw-r--r--src/WixToolset.Extensibility/Data/ICommandLineCommand.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs b/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs
index 1c6de205..a0fc9454 100644
--- a/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs
+++ b/src/WixToolset.Extensibility/Data/ICommandLineCommand.cs
@@ -4,14 +4,33 @@ namespace WixToolset.Extensibility.Data
4{ 4{
5 using WixToolset.Extensibility.Services; 5 using WixToolset.Extensibility.Services;
6 6
7 /// <summary>
8 /// Custom command.
9 /// </summary>
7 public interface ICommandLineCommand 10 public interface ICommandLineCommand
8 { 11 {
12 /// <summary>
13 /// Indicates the command-line should show the command-line logo.
14 /// </summary>
9 bool ShowLogo { get; } 15 bool ShowLogo { get; }
10 16
17 /// <summary>
18 /// Indicates the command-line parsing can stop.
19 /// </summary>
11 bool StopParsing { get; } 20 bool StopParsing { get; }
12 21
22 /// <summary>
23 /// Executes the command.
24 /// </summary>
25 /// <returns>Exit code for the command.</returns>
13 int Execute(); 26 int Execute();
14 27
28 /// <summary>
29 /// Allows the command to parse command-line arguments.
30 /// </summary>
31 /// <param name="parser">Parser to help parse the argument and additional arguments.</param>
32 /// <param name="argument">Argument to parse.</param>
33 /// <returns>True if the argument is recognized; otherwise false to allow another extension to process it.</returns>
15 bool TryParseArgument(ICommandLineParser parser, string argument); 34 bool TryParseArgument(ICommandLineParser parser, string argument);
16 } 35 }
17} 36}