tcmts.cli.complete

Complete type
Sources typeof Sources
What the shell's asking about, read lazily: completing a command name shouldn't open the codebase.
addParams (cmd: Command, route: RouteShape, command: string, s: Sources) => void
complete (shell: string | undefined, words: string[], cwd: string) => void
`tcm complete <shell>` (the script) or `tcm complete -- <words>` (what can come next).
sourceFor (command: string, param: string, s: Sources) => ((complete: Complete) => void) | undefined
Where each argument or option completes from: by command, then by parameter name.