From afddf8558597166061f6fcabf6b91d9aef69acfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Sieroci=C5=84ski?= Date: Wed, 4 Dec 2024 11:51:00 +0100 Subject: [PATCH] docs: Add README --- .editorconfig | 3 +++ README.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ _static/logo.svg | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 README.md create mode 100644 _static/logo.svg diff --git a/.editorconfig b/.editorconfig index a0df292..1558887 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,6 @@ tab_width = 4 [{gah,*.sh,*.bash,*.bats}] indent_style = tab + +[*.md] +indent_size = 2 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3b96ca --- /dev/null +++ b/README.md @@ -0,0 +1,51 @@ +![gah! logo](./_static/logo.svg) + +`gah` is an GitHub Releases app installer, that does not require sudo. It is a simple bash script that downloads the latest release of an app from GitHub and installs it in `~/.local/bin`. It is designed to be used with apps that are distributed as a single binary file. + +Features: + +- Downloads the latest or given release of an app from GitHub +- Automatically selects matching binary for the current platform + + - Supported OS: Linux and MacOS + - Supported architectures: x64 and ARM64 + +- Supports multiple matching apps in a single GitHub Release +- Supports archived (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`) and single binary releases +- Has own base of predefined aliases for GitHub repositories (PRs are welcome!) + +## Installation + +TODO + +## Usage + +Type `gah help` to see the list of available commands. + +```text +gah + install [] + show + help + version +``` + +## Examples + +### Install latest version of gh (GitHub CLI) + +```bash +gah install gh +``` + +### Install specific version of argocd + +```bash +gah install argocd v2.0.3 +``` + +### Install an app that is not in the predefined aliases + +```bash +gah install hashicorp/vagrant +``` diff --git a/_static/logo.svg b/_static/logo.svg new file mode 100644 index 0000000..13241b4 --- /dev/null +++ b/_static/logo.svg @@ -0,0 +1,51 @@ + + + + + gah logo + + + + + + + + + + + gah logo + 04.12.2024 + + + Marek SierociƄski + + + + + +