holochain_scaffolding_cli 0.0.6

CLI to easily generate and modify holochain apps
Documentation

Holochain Scaffolding CLI

CLI to easily generate and edit holochain apps.

Install

Install the CLI globally with this command.

cargo install holochain_scaffolding_cli

In the near future the scaffolding tool is going to be integrated together with holonix and the overall holochain development environment.

Until then, you can just install it from crates to get a preview of its functionality.

Usage

# Scaffold an empty web-app
hc scaffold web-app forum

cd forum

# Scaffold a dna inside the newly scaffolded app
hc scaffold dna forum

# Scaffold a zome inside the newly scaffolded dna
hc scaffold zome posts

# Scaffold an entry-type inside the newly scaffolded zome
hc scaffold entry-type post

# Scaffold a collection for the newly scaffolded entry-type
hc scaffold collection global all_posts

# Scaffold a new link-type
hc scaffold link-type

Documentation

See the docs.rs documentation to learn how to use and create custom templates.