CLI Reference
Command Line Interface Manual
Trak is built with standard POSIX conventions, Cobra flags, and clear feedback loops.
trak initCommand
Resolves blueprint from registry and materializes full workspace on local disk.
$ trak init <category>/<template> [--path <dir>]
Key Flags:
-p, --path <string>-h, --help
Inspect docs
trak listCommand
Visualizes the catalog as an interactive ASCII tree graph with colored tags.
$ trak list [category] [-a, --all]
Key Flags:
-c, --category <name>-a, --all-h, --help
Inspect docs
trak versionCommand
Displays CLI version, Go runtime, host architecture, and registry Git branch.
$ trak version
Key Flags:
-h, --help
Inspect docs
Developer CLI Reference
Command Line Manual
Quick reference for all available subcommands and flags.
trak initSubcommand
$ trak init <category>/<template> [flags]
Downloads and materializes the requested curriculum blueprint directly on disk. If --path is omitted, creates ./learn-<template> in the current directory.
Flags & Options
-p, --path <string>Destination folder path (default: ./learn-<template>)
-h, --helpDisplay detailed help and real-world examples
Examples
$trak init lang/go
# Materialize Go workspace in ./learn-go
$trak init db/postgres --path ./postgres-lab
# Materialize in custom directory
$trak init tool/docker
# Materialize Docker & container architecture track
$trak init cloud/aws
# Materialize AWS Cloud solutions track
$trak init os/linux
# Materialize Linux systems administration track