CLI Reference¶
tcl-ls¶
tcl-ls starts the language server on stdio. It does not currently define
additional CLI flags or subcommands.
tcl-check¶
Usage:
tcl-check [options] path
Options:
--color {auto,always,never}Control ANSI color output.
autoonly enables color when stdout is a terminal andNO_COLORis not set.--context-lines NShow
Nlines of surrounding source context for each diagnostic.--fail-on-diagnosticsExit with status 1 if any diagnostics are reported.
-j, --threads NAnalyze source files with
Nworker processes. The default is 8.--plugin-path PATHLoad additional metadata from a directory, a
.meta.tclfile, or a Tcl plugin script. The flag may be passed more than once.
Exit behavior:
0when analysis completes successfully1for operational failures, or for reported diagnostics when--fail-on-diagnosticsis used130when interrupted withCtrl-C
tcl-meta¶
Usage:
tcl-meta helper-path
tcl-meta build-file output.meta.tcl
Subcommands:
helper-pathPrint the bundled
tcl_meta.tclhelper path.build-fileRun the bundled helper through
tclshand write a.meta.tclfile.
tcl-meta requires tclsh to be present on PATH.