holochain_cli_bundle

Crates.ioholochain_cli_bundle
lib.rsholochain_cli_bundle
version0.6.0-dev.23
created_at2021-06-30 21:05:18.467985+00
updated_at2025-09-24 01:18:15.323563+00
descriptionDNA and hApp bundling functionality for the `hc` Holochain CLI utility
homepage
repositoryhttps://github.com/holochain/holochain
max_upload_size
id417130
size178,638
Holochain Release Automation (holochain-release-automation2)

documentation

https://docs.rs/holochain_cli_bundle

README

hc_bundle

Project Discord License: Apache-2.0

Utilities to create DNA, hApp, and web-hApp bundle files from a source working directory and manifest file, and vice-versa. This crate defines three separate subcommands for the hc CLI tool, one for each type of bundle. All subcommands are very similar and have nearly identical flags and options.

This crate also defines standalone binaries for each subcommand, hc-dna, hc-app, and hc-web-app.

hc app and hc web-app are very similar, only differing by the addition of a --recursive flag. If used, this flag attempts to first pack all the assets to be included in the bundle being packed. If it doesn't find the bundled DNA or hApp asset specified, it will by convention look for a DNA or hApp manifest file in the same directory and attempt to pack it using the specified name.

Contribute

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.

License

License: Apache-2.0

Copyright (C) 2019 - 2024, 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.

Commit count: 13089

cargo fmt