Utilities to create DNA and hApp bundle files from a source working directory, and vice-versa.
This crate defines two separate subcommands for the hc
CLI tool, one for each type of bundle.
Both subcommands are very similar and have identical interfaces.
This crate also defines standalone binaries for each subcommand, hc-dna
and hc-app
.
Usage instructions from the -h
flag:
```sh $ hc dna -h
hc-dna 0.0.1 Work with DNA bundles
USAGE:
hc dna
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
init Create a new, empty Holochain DNA bundle working directory
pack Pack the contents of a directory into a .dna
bundle file
unpack Unpack the parts of .dna
file out into a directory
```
hc app -h
is very similar.
Holochain is an open source project. We welcome all sorts of participation and are actively working on increasing surface area to accept it. Please see our contributing guidelines for our general practices and protocols on participating in the community, as well as specific expectations around things like code formatting, testing practices, continuous integration, etc.
Copyright (C) 2019 - 2021, Holochain Foundation
This program is free software: you can redistribute it and/or modify it under the terms of the license provided in the LICENSE file (Apache 2.0). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.