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

bin+lib holochain_cli_bundle

DNA and hApp bundling functionality for the hc Holochain CLI utility

211 releases

new 0.5.0-dev.11 Dec 25, 2024
0.5.0-dev.7 Nov 27, 2024
0.4.0 Dec 17, 2024
0.4.0-dev.15 Jul 31, 2024
0.0.2 Jul 29, 2021

#636 in Magic Beans

Download history 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 163/week @ 2024-11-04 197/week @ 2024-11-11 340/week @ 2024-11-18 459/week @ 2024-11-25 268/week @ 2024-12-02 270/week @ 2024-12-09 278/week @ 2024-12-16

1,288 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

~86MB
~1.5M SLoC