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

bin+lib holochain_cli_bundle

DNA and hApp bundling functionality for the hc Holochain CLI utility

198 releases

new 0.5.0-dev.4 Nov 6, 2024
0.4.0-rc.0 Oct 4, 2024
0.4.0-dev.15 Jul 31, 2024
0.3.0-beta-dev.39 Mar 27, 2024
0.0.2 Jul 29, 2021

#439 in Magic Beans

Download history 268/week @ 2024-07-15 117/week @ 2024-07-22 473/week @ 2024-07-29 96/week @ 2024-08-05 218/week @ 2024-08-12 210/week @ 2024-08-19 116/week @ 2024-08-26 100/week @ 2024-09-02 103/week @ 2024-09-09 409/week @ 2024-09-16 347/week @ 2024-09-23 372/week @ 2024-09-30 188/week @ 2024-10-07 397/week @ 2024-10-14 146/week @ 2024-10-21 131/week @ 2024-10-28

886 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

~66–105MB
~2M SLoC