forked from holochain/holochain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hc
CLI documentation fixes and updates (holochain#2100)
* update documentation for `hc` and subcommands Fixed inconsistencies/outdated information, punctuation. Added more information to explain certain commands and arguments. * READMEs * Code comments incl Rustdoc * Outputted help text * Error messages * update CHANGELOGs * further edits to help text on hc bundle flag * fix small spelling mistake * update source 'rust-overlay' on branch 'develop' (holochain#2103) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * fixes for the release workflow (holochain#2095) * fix(github/release): changed variables * fix(github/release): string substitution for gh cmd * chore: re-enable the weekly release schedule (holochain#2104) * refactor(zome-call): optimize cap grant verification (holochain#2097) * refactor(zome-call): cap grant verification * refactor: simplify cap grant validation flow * update changelog * simplify assigned cap access arm * add PR reference to changelog * add comment to test * Apply suggestions from code review Co-authored-by: Michael Dougherty <[email protected]> * refactor: use high level db query fn * replace hardcoded cap access variant by method --------- Co-authored-by: Michael Dougherty <[email protected]> * further punctuation/spacing/formatting edits to hc * 2023 03 17 switch to clap (holochain#2125) * upgrade from structopt to clap 3.0 * update from structopt 0.3 to clap 3.0 * resolve deprecated warnings for clap 3 upgrade * hc binary: upgrade to clap 4.0 * update changelog for hc scaffold * updated a couple more changelogs * fix error with hc s call * hc cli: move runner impl to subcommand enum * update source 'nixpkgs' on branch 'develop' (holochain#2158) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * update source 'rust-overlay' on branch 'develop' (holochain#2159) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * fix(release-automation): consider dependency state of all matched crates (holochain#2160) fix(release-automation): consider dependency state of all matched crates (holochain#2149) * fix(release-automation): consider dependency state of all matched crates the change filter could lead to dependency changes not including the changed dependency in the release, if the selected crate itself didn't have any changed. the blocked filter was removed because it adds unnecessary obfuscation. * chore(release-automation): remove duplicate test * test(relase-automation): cover the fixed case * chore: add FIXME comment for a bug in the dependencies_in_workspace_filter function * test(release-automation): extend dependency bump test to cover the transitive case * refactor(release-automation/crate_selection): clarify transitive change detection * update source 'nixpkgs' on branch 'develop' (holochain#2161) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * Improve HoloHash::from_raw_32 and use it (holochain#2162) * Update from_raw_32 to only allow 32 * Use 32 byte hash for a test where it matters * Fix fixturator * Fix one more test * hc: code reorganisation, make clap types more consistent * update source 'rust-overlay' on branch 'develop' (holochain#2163) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * update source 'rust-overlay' on branch 'develop' (holochain#2164) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * update source 'rust-overlay' on branch 'develop' (holochain#2165) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * fix(github/release*): merge release into target branch before pushing (holochain#2151) * update source 'nixpkgs' on branch 'develop' (holochain#2169) [create-pull-request] automated change Co-authored-by: steveeJ <[email protected]> * hc: re-add support for --version * hc: fix hc sandbox list * revert some overly eager search/replace * bump deps * clean up whitespace in hc codebase * fix fmt and clippy issues in hc --------- Co-authored-by: Holochain Release Automation <[email protected]> Co-authored-by: steveeJ <[email protected]> Co-authored-by: Stefan Junker <[email protected]> Co-authored-by: Michael Dougherty <[email protected]> * fix wonky merge on Cargo.lock and one source file * update hc signal-src and hc dna bundle --dylib ios to clap 4 * improve top-level hc README * final polish on hc help text/readme improvements * update changelogs for hc doc changes * fix some uncaught merge problems --------- Co-authored-by: Holochain Release Automation <[email protected]> Co-authored-by: steveeJ <[email protected]> Co-authored-by: Stefan Junker <[email protected]> Co-authored-by: Jost Schulte <[email protected]> Co-authored-by: Michael Dougherty <[email protected]>
- Loading branch information
1 parent
afb8bf5
commit c249335
Showing
36 changed files
with
708 additions
and
597 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
use clap::Parser; | ||
use holochain_cli as hc; | ||
use structopt::StructOpt; | ||
|
||
#[tokio::main] | ||
async fn main() -> anyhow::Result<()> { | ||
if std::env::var_os("RUST_LOG").is_some() { | ||
holochain_trace::init_fmt(holochain_trace::Output::Log).ok(); | ||
} | ||
let opt = hc::Opt::from_args(); | ||
opt.run().await | ||
let cli = hc::Cli::parse(); | ||
cli.subcommand.run().await | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.