CLI Reference
Detailed overview of the Command Line Interface (CLI). See Workflow and CLI Usage for the overall sequence.
General Usage
Global options:
Some options also provide shorthand forms. For example, -V and
--version both print the installed version.
Show top-level help:
Show version:
Get help for any subcommand:
Global options such as --verbose/-v and --debug/-d apply to the
command groups and subcommands below.
Option Precedence
When a command supports both lst.cfg values and explicit CLI options, use
this rule:
- Load defaults from
lst.cfg. - Apply explicit CLI options for the current invocation.
- Keep the CLI override local unless the command explicitly writes values back to the config.
Practical implications:
--cfgchanges which config file is loaded; it does not override one field.- Output-path options such as
--outand--nameaffect the current run only. setup parsing --auto-fillandsetup tracking --auto-fillcan write derived values back intolst.cfgwhen a config path is available.- Processing commands use config values as defaults, but explicit CLI flags
such as
--interpolatetake precedence for that run. - Selector flags such as
--maxima,--volume,--animate, or--brancheschoose which actions run; they do not rewrite config values.
Subcommands
lst-tools init
| Command | Purpose |
|---|---|
| init | Create or seed lst.cfg |
lst-tools lastrac
| Command | Purpose |
|---|---|
| lastrac | Convert HDF5 base flow to meanflow.bin |
lst-tools setup
| Subcommand | Purpose |
|---|---|
| parsing | Write the broad parsing input deck |
| tracking | Build tracking case directories and decks |
| spectra | Write fixed-station spectra decks |
lst-tools process
| Subcommand | Purpose |
|---|---|
| tracking | Post-process tracking results |
| spectra | Post-process spectra results |
lst-tools visualize
| Subcommand | Purpose |
|---|---|
| parsing | Render quick preview PNGs from parsing output |
| tracking | Render quick preview PNGs from tracking output |
lst-tools clean
| Subcommand | Purpose |
|---|---|
| parsing | Remove parsing artifacts |
| tracking | Remove tracking artifacts |
| spectra | Remove spectra artifacts |
Utility Commands
| Command | Purpose |
|---|---|
| hpc | Generate or regenerate a run script |
| info | Inspect meanflow.bin metadata |