#holochain #holo #bundle #dna #subcommand #directory #hc

bin+lib holochain_cli_bundle

DNA and hApp bundling functionality for the hc Holochain CLI utility

201 releases

new 0.5.0-dev.6 Nov 20, 2024
0.5.0-dev.3 Oct 30, 2024
0.4.0-dev.15 Jul 31, 2024
0.3.0-beta-dev.39 Mar 27, 2024
0.0.2 Jul 29, 2021

#104 in Magic Beans

Download history 237/week @ 2024-07-31 98/week @ 2024-08-07 302/week @ 2024-08-14 128/week @ 2024-08-21 111/week @ 2024-08-28 100/week @ 2024-09-04 278/week @ 2024-09-11 302/week @ 2024-09-18 307/week @ 2024-09-25 363/week @ 2024-10-02 251/week @ 2024-10-09 326/week @ 2024-10-16 138/week @ 2024-10-23 135/week @ 2024-10-30 163/week @ 2024-11-06 320/week @ 2024-11-13

760 downloads per month
Used in 3 crates (2 directly)

Apache-2.0 and AGPL-3.0 WITH mif-exception

575KB
12K SLoC

hc_bundle

Project Forum Chat

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.

  • Connect with us on our forum

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.

Dependencies

~65–105MB
~2M SLoC