#holochain #holo

bin+lib holochain_cli_bundle

DNA and hApp bundling functionality for the hc Holochain CLI utility

18 releases

0.0.18 Jan 7, 2022
0.0.17 Dec 15, 2021
0.0.14 Nov 25, 2021
0.0.11 Oct 27, 2021
0.0.1 Jun 30, 2021

#653 in Magic Beans

43 downloads per month
Used in holochain_cli

Apache-2.0 and GPL-3.0-only



Project Forum Chat

License: Apache-2.0

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:

$ hc dna -h

hc-dna 0.0.1
Work with DNA bundles

    hc dna <SUBCOMMAND>

    -h, --help       Prints help information
    -V, --version    Prints version information

    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.

  • Connect with us on our forum


License: Apache-2.0

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.


~1.5M SLoC