holochain_scaffolding_cli 0.1.7

CLI to easily generate and modify holochain apps
docs.rs failed to build holochain_scaffolding_cli-0.1.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: holochain_scaffolding_cli-0.4000.4

Holochain Scaffolding CLI

CLI to easily generate and edit holochain apps.

Obtaining the scaffolding tool through holonix

The easiest way to start using the scaffolding tool is through holonix:

nix-shell https://holochain.love
hc-scaffold --version

Should print the version of the scaffolding tool.

Usage

These are the commands that you can run with the scaffolding tool:

# Scaffold an example app
hc scaffold example

# 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.

Manual installation

Install the CLI globally with this command.

cargo install holochain_scaffolding_cli