zuke_cli library

Supported application-facing programmatic CLI API.

Classes

FlutterToolchainResolver
Resolves a Windows Flutter runner to a direct snapshot invocation.
GatewayCanonicalizeCommand
Produces a stable, non-secret APIM policy-evidence envelope from a raw export collected by the protected Azure workflow. The raw export is never checked into Git; only this canonical, content-addressed representation is passed to the external attestation command.
GenerateCommand
LocalProcessSupervisor
The only production boundary that launches configured test processes.
ProcessRunRequest
ProcessSupervisor
ScenarioSelection
Immutable, deterministic provenance for a single profile selection. This is written only after all configured runners have succeeded, alongside the evidence observation; it is never an input that can make a later run pass.
ScenarioSelector
Resolves the configured profile's tag expression against parsed scenarios.
TestDartCommand
The Dart command descriptor used by tests that spawn the CLI. It resolves the SDK driving the test before falling back to PATH, and always keeps the non-persistent analytics option before the Dart subcommand.
TestRunSummary
Deterministic summary emitted after a successful Zuke test run.
ToolInvocation
A fully prepared child-process invocation.
ValidateCommand
WatchCoordinator
WatchTimer
ZukeCli

Enums

ProcessFailureKind
ToolRunnerMode
Strategy used to launch Dart and Flutter tools.

Functions

isFlutterTool(String executable) bool
Whether executable names Flutter's supported command-line launcher.
prepareToolInvocation(String executable, List<String> arguments, Map<String, String> environment, {FlutterToolchainResolver? flutterResolver, ToolRunnerMode runnerMode = ToolRunnerMode.auto}) ToolInvocation
Applies SDK-safe, non-persistent environment defaults to a tool launch.
resolveTestDartCommand() TestDartCommand

Typedefs

FlutterCacheAccessProbe = void Function(String lockfilePath)
Probes whether Flutter can open the cache lockfile required for a launch.
FlutterExecutableLookup = String? Function()
Looks up the configured Flutter executable.
WatchSchedule = WatchTimer Function(Duration delay, void callback())

Exceptions / Errors

SupervisedProcessException
ToolInvocationException
A stable, coded failure while preparing a configured tool invocation.