tms

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

tms (Threat Model Spec) is a CLI for creating security threat modeling diagrams.

Usage:

tms generate input.json -o output.d2        # Generate D2 diagram
tms generate input.json -o output.d2 --svg  # Also render to SVG
tms generate input.json --stix -o out.json  # Export to STIX 2.1
tms validate input.json                     # Validate only
tms validate input.json --strict            # Strict validation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL