CLI Reference

Command Line Interface Manual

Trak is built with standard POSIX conventions, Cobra flags, and clear feedback loops.

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
$trak init db/postgres --path ./postgres-lab
$trak init tool/docker
$trak init cloud/aws
$trak init os/linux