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.
Functions§
- add
- Create an asset from
targetand 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.
expandedincludes the assets the build injects;systemsadds the system manifest the world resolves to. - new
- Create a new project in a new directory at
path. - rm
- Delete the asset named
namefrom the discovered world.