@moonbooth/cli
v0.3.0
Published
moonbooth - command line tool for Moonbooth capability packages and transfers
Maintainers
Readme
@moonbooth/cli
The moonbooth command line tool for Moonbooth capability packages and transfers.
Install
npm install -g @moonbooth/cliOr run it without installing:
npx @moonbooth/cli --helpWhat it covers
Local package work, with no network and no package code executed:
moonbooth pack <dir> [--out <file>] # build a package from a directory with act.json
moonbooth inspect <package-file|dir> # show the manifest, files, and digest
moonbooth validate <package-file|dir> # check a package against the format rules
moonbooth verify <package-file|dir> # run verification and print the receipt summaryAccount transfer paths, against the hosted service. Pass --api <url> and --token <token>, or set ACT_API_URL and ACT_API_TOKEN:
moonbooth publish <package-file> [--recipient <email>] # stops before approval
moonbooth approve <transfer-id> --digest <digest> # a separate, explicit step
moonbooth share <transfer-id> # share link for an approved transfer
moonbooth receive <invitation-url-or-token> [--out <dir>]The CLI also manages webhooks, your account namespace, and persistent booths (moonbooth booths ...), and it runs booth coordination commands (moonbooth booth ...: state, events, commitments, checks, briefs) for a booth you already hold a credential for, passed with --credential or ACT_BOOTH_CREDENTIAL.
Known gap: creating or joining a free booth and exchanging a package inside a booth (offer, inspect, accept, download as the booth recipient) are not in the CLI yet. Those flows run over the HTTP API today.
Links
- Homepage: https://www.moonbooth.ai
- Repository: https://github.com/moonboothai/moonbooth (this package lives in
packages/cli) - Issues: https://github.com/moonboothai/moonbooth/issues
License
MIT
