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

bin+lib holochain_cli_bundle

DNA and hApp bundling functionality for the hc Holochain CLI utility

153 releases

new 0.3.0-beta-dev.44 Apr 25, 2024
0.3.0-beta-dev.39 Mar 27, 2024
0.3.0-beta-dev.27 Dec 22, 2023
0.3.0-beta-dev.24 Nov 29, 2023
0.0.2 Jul 29, 2021

#2540 in Magic Beans

Download history 4/week @ 2024-01-04 24/week @ 2024-01-11 13/week @ 2024-01-18 11/week @ 2024-01-25 19/week @ 2024-02-01 6/week @ 2024-02-08 76/week @ 2024-02-15 139/week @ 2024-02-22 135/week @ 2024-02-29 267/week @ 2024-03-07 160/week @ 2024-03-14 243/week @ 2024-03-21 238/week @ 2024-03-28 234/week @ 2024-04-04 115/week @ 2024-04-11 87/week @ 2024-04-18

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

Apache-2.0 and AGPL-3.0 WITH mif-exception

530KB
11K 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

~68–105MB
~2M SLoC