File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/System.CommandLine.Subsystems Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace System . CommandLine ;
8
8
9
+ // Notes from Chet's work on static shells and further thoughts
10
+ // - Chet has work he can later upstream for completion script creation - static when it can be
11
+ // - Completions need to know - what it is, whether it is static or dynamic, and how many items would be in the list.
12
+ // - Not sure whether these need to be in the Completer or the trait
13
+ // - Validation can have many validators per type. Completions may need to have a single one.
14
+ // - Probably two steps - determining the available values and matching the current word
15
+ // - The code in CompletionContext of main/Extended to get current word requires tokens and is pretty gnarly
16
+ // - File and directory are special as they can get handed off to shell ro the work
17
+
9
18
public class CompletionSubsystem : CliSubsystem
10
19
{
11
20
public CompletionSubsystem ( IAnnotationProvider ? annotationProvider = null )
You can’t perform that action at this time.
0 commit comments