mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-17 16:15:47 +08:00
Add Spectre.Cli to Spectre.Console
* Renames Spectre.Cli to Spectre.Console.Cli. * Now uses Verify with Spectre.Console.Cli tests. * Removes some duplicate definitions. Closes #168
This commit is contained in:
committed by
Patrik Svensson
parent
0bbf9b81a9
commit
0ae419326d
21
src/Spectre.Console/Cli/IRemainingArguments.cs
Normal file
21
src/Spectre.Console/Cli/IRemainingArguments.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Spectre.Console.Cli
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the remaining arguments.
|
||||
/// </summary>
|
||||
public interface IRemainingArguments
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the parsed remaining arguments.
|
||||
/// </summary>
|
||||
ILookup<string, string?> Parsed { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the raw, non-parsed remaining arguments.
|
||||
/// </summary>
|
||||
IReadOnlyList<string> Raw { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user