CLI

Perro CLI owns project creation, script sync/checks, dev runs, static builds, DLC packing, formatting, linting, and profiling commands. --path defaults to the current project directory.

Quick map

perro new [--path <parent_dir>] [--name <project_name>]perro check [--path <project_dir>]perro dev [--path <project_dir>]perro build [--path <project_dir>]perro dlc --name <dlc_name> [--path <project_dir>]perro mem-profile [--path <project_dir>] [--release] [--csv [csv_name]]perro flamegraph [--path <project_dir>] [--profile] [--root]
perro new

Create project files, starter scene/script, deps.toml, and .perro crates.

perro check

Sync res/**/*.rs into .perro/scripts, regenerate exports, and build scripts.

perro dev

Run script pipeline, build dev runner, and launch project.

perro build

Compile scripts, generate static resources, pack assets, and copy executable to .output.

perro dlc

Build runtime-loadable DLC scripts/pack modules and write .output/dlc/<name>.dlc.

perro format / clippy

Run rustfmt or clippy over project script files.

perro mem-profile / flamegraph

Run project profiling helpers with generated dev runner builds.