Skip to main content

Module command

Module command 

Source
Expand description

The implementations behind each cn subcommand, and the only place in this crate that writes to stdout. The implementations behind each cn subcommand: discovery and printing wrappers over this crate’s authoring API and the concinnity-cook compile pipeline.

This is where stdout lives. The authoring API returns values and errors; a command resolves which world was meant, calls it, and formats the result for a terminal. Keeping that split means the same authoring call is equally usable from the editor, the debug server, and an out-of-tree host.

Constants§

VERSION
The engine version this build was compiled from.

Functions§

add
Create an asset from target and apply it to the discovered world.
build
Compile a world to binary blobs and write world-lock.json.
check
Validate a world and report its errors without building blobs.
explain
Print one asset’s effective entry from the expanded world, with where each value came from.
init
Create a new project in the working directory.
list
Print every declared asset. expanded includes the assets the build injects; systems adds the system manifest the world resolves to.
new
Create a new project in a new directory at path.
rm
Delete the asset named name from the discovered world.
version
Print the version.
version_details
The version and its build stamp, as --version reports them after the command name: 0.19.0 (c980f4866 2026-06-30).
version_line
The full one-line version banner, command name included.