Skip to main content

Module init

Module init 

Source
Expand description

mars init [TARGET] [--link DIR...] — scaffold a mars-managed directory with mars.toml.

TARGET is a simple directory name (default: .agents), not a path. Creates <cwd>/TARGET/mars.toml. Use --root for explicit path control.

Idempotent: re-running when already initialized is a no-op for init but still processes --link flags.

Structs§

InitArgs
Arguments for mars init.

Functions§

run
Run mars init.