holochain_cli 0.6.1

Provides the `hc` binary, a helpful CLI tool for working with Holochain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use clap::Parser;
use holochain_cli as hc;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    if std::env::var_os("RUST_LOG").is_some() {
        holochain_trace::init_fmt(holochain_trace::Output::Log).ok();
    }
    let cli = hc::Cli::parse();
    cli.subcommand.run().await
}