trak init
Fetches the requested curriculum blueprint from trak-registry and recursively generates all directories, files, and trak.json on disk.
Command Overview
When running 'trak init <category>/<template>', Trak performs category normalization (e.g. mapping 'mac' to 'macos'), validates the target template against the remote catalog, and builds the entire nested directory tree in the destination directory. If --path is omitted, it defaults to './learn-<template>' in the current working directory.
Execution Lifecycle
Available Flags
Target directory path where the workspace will be materialized.
Show help message and command examples.
Usage Examples
Generates the Go workspace in ./learn-go in your current folder.
Materializes the PostgreSQL track inside ./my-postgres-lab.
Generates the container architecture lab at an absolute location.