Skip to main content

Crate fgk

Crate fgk 

Source
Expand description

fgk library — internals shared between the binary and unit tests.

Splitting the CLI into a lib.rs + main.rs pair lets us integration-test scaffolding logic (templates, manifest emission, packaging) without driving the binary through assert_cmd for every assertion. The binary remains the public entry point; everything reusable lives behind this crate.

Modules§

emit_manifest
fgk emit-manifest — generate Foglet operator manifest JSON.
package
fgk package --out <dir> — assemble a deployable Foglet door bundle.
scaffold
Project scaffolding for fgk new <path>.
templates
Embedded fgk new project templates.
tick
fgk tick — one-shot world-tick runner for hosted games.