idle_cli library
Deterministic, JSON-only CLI for idle_core simulations.
This package is designed to be an automation-friendly execution surface:
state flows through stdin/stdout as JSON, and time advances only via tick.
The public API exposes:
- runIdleCli — the CLI entrypoint used by
bin/idle.dart. - IdleCliSnapshot — a portable snapshot schema for piping and save/load.
Classes
- IdleCliSnapshot
-
A portable snapshot of an
idle_clisimulation.
Functions
-
runIdleCli(
List< String> args, {CliIo? io}) → Future<int> -
Runs the
idlecommand-line interface.