Expand description
§holochain_cli_sandbox
A library and CLI to help create, run, and interact with sandboxed Holochain conductor environments, for testing and development purposes. Warning: this is still WIP and subject to change There’s probably a few bugs. If you find one please open an issue or make a PR.
While this crate can be compiled into an executable, it can also be used as a library so you can create more complex sandboxes / admin calls. See the docs:
cargo doc --openand the examples.
Re-exports§
pub use cli::HcSandbox;
Modules§
- bundles
- Helpers for working with DNA files.
- calls
- Helpers for making
AdminRequests to the admin API. - cli
- Definitions of Parser options for use in the CLI
- run
- Helpers for running the conductor.
- sandbox
- Common use sandboxes with lots of default choices.
- save
- Manage persistence of sandboxes
Macros§
- expect_
match - Expect that an enum matches a variant and return an error if it doesn’t.
- expect_
variant - Expect that an enum matches a variant and panic if it doesn’t.
Structs§
- CmdRunner
- An active connection to a running conductor.
Functions§
- force_
admin_ port - Update the first admin interface to use this port.