srctools.cmdseq
Reads and writes Hammer’s compilation configs.
These set the arguments to the compile tools.
- class srctools.cmdseq.SpecialCommand(
- value,
- names=None,
- *,
- module=None,
- qualname=None,
- type=None,
- start=1,
- boundary=None,
Bases:
Enum
Special commands to run instead of the exe.
- CHANGE_DIR = 256
- COPY_FILE = 257
- DELETE_FILE = 258
- RENAME_FILE = 259
- class srctools.cmdseq.Command(
- executable: str | SpecialCommand,
- args: str,
- *,
- enabled: bool = True,
- ensure_file: str | None = None,
- use_proc_win: bool = True,
- no_wait: bool = False,
A command to run.