#cli

install-framework-cli

[Install Framework] CLI interface powered by clap

1 stable release

1.0.0 Apr 13, 2021

#4060 in #cli


Used in install-framework

MIT license

130KB
2.5K SLoC

Install Framework

Install Framework is a framework to create cross-platform installers in Rust.

Usage

  • Create a binary crate (cargo new --bin [name of installer])
  • Reference the main install-framework crate (https://crates.io/crates/install-framework)
  • Fill an InstallerBuilder and call install_framework::run with your builder
  • Apply the following code in your Cargo.toml:
[features]
cli = ["install-framework/cli"]
gui = ["install-framework/gui"]
  • Compile with cargo build --features cli or cargo build --features gui

Dependencies

~9–23MB
~348K SLoC