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 66
77namespace System . CommandLine ;
88
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+
918public class CompletionSubsystem : CliSubsystem
1019{
1120 public CompletionSubsystem ( IAnnotationProvider ? annotationProvider = null )
You can’t perform that action at this time.
0 commit comments