rust-cli-boilerplate
huber
Our great sponsors
rust-cli-boilerplate | huber | |
---|---|---|
4 | 3 | |
178 | 176 | |
- | - | |
0.0 | 7.3 | |
about 3 years ago | 23 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-cli-boilerplate
-
Why are so many important features not in standard library yet?
There's enough disagreement over personal taste that there are various repositories (eg. my CLI boilerplate vs. Rust Starter) but none especially dominant.
-
Rust for simple tasks
I put together this project boilerplate but, now, I'm exploring building a set of Vim snippets so I can use rust-script as my starting point and migrate to the project boilerplate later.
-
Best way to handle verbose/optional output in a CLI program?
I use stderrlog with the log facade, as can be seen in my CLI boilerplate.
-
rust-starter: boilerplate to build Rust CLI applications
Hmm. I'll have to see what of that I can borrow for mine when I have time to work on it again.
huber
-
KubeFire : Créer et gèrer des clusters Kubernetes en utilisant des microVMs avec Firecracker …
root@kubefire:~# apt install libssl-dev libarchive-dev -y root@kubefire:~# wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb --2022-11-11 11:36:57-- http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb Resolving nz2.archive.ubuntu.com (nz2.archive.ubuntu.com)... 91.189.91.39, 185.125.190.36, 91.189.91.38, ... Connecting to nz2.archive.ubuntu.com (nz2.archive.ubuntu.com)|91.189.91.39|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1320576 (1.3M) [application/x-debian-package] Saving to: ‘libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb’ libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb 100%[=============================================================================================>] 1.26M --.-KB/s in 0.06s 2022-11-11 11:36:57 (21.7 MB/s) - ‘libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb’ saved [1320576/1320576] root@kubefire:~# dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb Selecting previously unselected package libssl1.1:amd64. (Reading database ... 64650 files and directories currently installed.) Preparing to unpack libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.16) ... Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.16) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... root@kubefire:~# curl -sfSL https://raw.githubusercontent.com/innobead/huber/master/hack/install.sh | bash ++ uname + os=Linux ++ uname -m + arch=x86_64 + filename=huber-linux-amd64 + case $os in + case $arch in + filename=huber-linux-amd64 ++ get_latest_release ++ curl -sfSL https://api.github.com/repos/innobead/huber/releases/latest ++ grep '"tag_name":' ++ sed -E 's/.*"([^"]+)".*/\1/' + curl -sfSLO https://github.com/innobead/huber/releases/download/v0.3.8/huber-linux-amd64 + chmod +x huber-linux-amd64 + mkdir -p /root/.huber/bin + mv huber-linux-amd64 /root/.huber/bin/huber + export_statement='export PATH=$HOME/.huber/bin:$PATH' + grep -Fxq 'export PATH=$HOME/.huber/bin:$PATH' /root/.bashrc + echo 'export PATH=$HOME/.huber/bin:$PATH' + cat The installation script has updated the $PATH environment variable in /root/.bashrc. Please restart the shell or source again to make it take effect. root@kubefire:~# source .bashrc root@kubefire:~# huber huber v0.3.8 Commit: d642e4b-20220708065617 Huber, simplify github package management USAGE: huber [OPTIONS] [SUBCOMMAND] OPTIONS: -h, --help Print help information -k, --github-key Github SSH private key path for authenticating public/private github repository access. This is required if you connect github w/ SSH instead of https [env: GITHUB_KEY=] -l, --log-level Log level [default: error] [possible values: off, error, warn, info, debug, trace] -o, --output Output format [default: console] [possible values: console, json, yaml] -t, --github-token Github token, used for authorized access instead of limited public access [env: GITHUB_TOKEN=] -V, --version Print version information SUBCOMMANDS: config Manages the configuration current Updates the current package version [aliases: c] flush Flushes inactive artifacts [aliases: f] help Print this message or the help of the given subcommand(s) info Shows the package info [aliases: i] install Installs the package [aliases: in] repo Manages repositories reset Resets huber [aliases: r] search Searches package [aliases: se] self-update Updates huber [aliases: su] show Shows installed packages [aliases: s] uninstall Uninstalls package [aliases: un, rm] update Updates the installed package(s) [aliases: up]
- Huber: Package Manager for GitHub Repos
-
cli to easy install applications from github releases
There is tool called Huber with the same approach available. https://github.com/innobead/huber
What are some alternatives?
rust-starter - Rust Starter Project
jitter - give the finger to git clone
rust-script - Run Rust files and expressions as scripts without any setup or compilation step.
matchhostfsowner - Solves the Docker host filesystem owner matching problem
tracing - Application level tracing for Rust.
cloneit - A cli tool to download specific GitHub directories or files
env_logger - A logging implementation for `log` which is configured via an environment variable.
git-open - A command-line tool to open git project website of the containing repository.
Weld - Full fake REST API generator written with Rust
grm - An experimental package manager for GitHub Releases
log - Logging implementation for Rust
grab - An attempt at making a simple clone of grep(1) using Rust.