Maybe not so dumb after all
Go to file
2023-01-24 13:01:52 +01:00
.github/workflows build only amd for debug 2023-01-24 13:01:52 +01:00
scripts Update some stuff, now everything must work 2023-01-18 13:28:57 +01:00
src Update some stuff, now everything must work 2023-01-18 13:28:57 +01:00
.dockerignore first commit 2023-01-17 22:35:35 +01:00
.drone.yml Update build'n'push; 2023-01-24 12:49:34 +01:00
.gitignore first commit 2023-01-17 22:35:35 +01:00
Cargo.lock first commit 2023-01-17 22:35:35 +01:00
Cargo.toml first commit 2023-01-17 22:35:35 +01:00
Dockerfile Update some stuff, now everything must work 2023-01-18 13:28:57 +01:00
LICENSE Add a license and update github workflow 2023-01-18 12:24:07 +01:00
README.md Update some stuff, now everything must work 2023-01-18 13:28:57 +01:00

Clever Install (clin)

It's actually not and installer, but a downloader, clin just sounds better than cldow IMHO

What's it about?

It's just a tool to make downloading binaries for different platforms easier.

For example

If you want to build a docker image, but you want to make it available on different platforms. But your tool needs other tools as dependencies, e.g. helm. To install helm on Alpine you need to use curl, wget, or something. You need to choose a version, an operating system, and an architecture. For me, it was obvious that you must be able to use uname -m...

uname -m 
aarch64

uname -m
x86_64

uname -m
arm64

While release naming is also not very consecutive

  • release_example.amd-macos.zip
  • another-release-for-amd64-macos.zip
  • linux-aarch64-release.zip

How to install?

Install

Download

Get executable from github releases

Prebuilt binaries exist for Linux x86_64 and MacOS arm64 and x86_64

Don't forget to add the binary to $PATH

$ curl https://raw.githubusercontent.com/allanger/clever-install/main/scripts/download_clin.sh | bash
$ clin -h

Docker

You can use the latest or a tagged docker image

$ docker pull ghcr.io/allanger/clever-install:latest
$ docker run ghcr.io/allanger/clever-install:latest clin -h

Build from source

  1. Build binary
$ cargo build --release
  1. Run gum help

How to use?

To be done