Expand description
vanta-migrate — import foreign version files into a Vanta [tools] set.
Reads the common version files (.mise.toml/mise.toml, .tool-versions,
.nvmrc, .python-version, rust-toolchain.toml, …) and produces
tool→version pairs plus the source they
came from, which the CLI renders into a vanta.toml. See docs/30-migration.md.
Pure-std parsing; no foreign tool is invoked.
Structs§
- Imported
- One imported tool pin and the file it came from.
Functions§
- import_
dir - Scan a directory for known version files and import them. The first file to mention a tool wins (specific files are scanned before broad ones).
- parse_
mise_ toml - Parse a mise / rtx config (
.mise.toml,mise.toml,.config/mise/config.toml)[tools]table. Supports the flat form (node = "20",python = ["3.12"],ruby = { version = "3.3" }) and the[tools.<name>]sub-table form (version = "20"). Pure-std line parsing — only the[tools]section is read. - parse_
tool_ versions - Parse an asdf/mise
.tool-versionsbody (“name version” per line). - to_
manifest_ toml - Render imported tools into a
vanta.toml[tools]table.