cli library

The hotpatch command-line tool. Pure Dart: no Flutter imports, so it runs with dart run flutter_hotpatch:hotpatch from an app folder.

Classes

BlobStore
Where releases, patches and manifests are uploaded.
CliConfig
Settings from hotpatch.yaml in the app's root folder.
FileStore
A local folder; serve it with any static file server.
ReleaseInfo
Fingerprint of a store build, saved as release.json.
S3Store
An S3 bucket, through the AWS CLI (credentials come from its usual config).

Functions

runHotpatchCli(List<String> arguments) → Future<int>
Entry point for dart run flutter_hotpatch:hotpatch.

Exceptions / Errors

CliException
A user-facing CLI error; printed without a stack trace.