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 --open
and the examples.
Re-exports§
pub use cli::HcSandbox;
Modules§
- Helpers for working with DNA files.
- Helpers for making
AdminRequest
s to the admin API. - Definitions of Parser options for use in the CLI
- Helpers for creating, reading and writing
ConductorConfig
s. - Helpers for generating new directories and
ConductorConfig
. - Helpers for running the conductor.
- Common use sandboxes with lots of default choices.
- Manage persistence of sandboxes
Macros§
- Expect that an enum matches a variant and return an error if it doesn’t.
- Expect that an enum matches a variant and panic if it doesn’t.
Structs§
- An active connection to a running conductor.
Functions§
- Update the first admin interface to use this port.