Amethyst is a fast, efficient and lightweight AUR helper and Pacman wrapper. Made for Crystal, compatible with any Arch-based Linux distribution
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Trivernis 2c2677ae88 Change argument parsing to clap v3 derives
With this change the arguments are parsed with the
new clap v3 derive syntax. This commit also sets the
default command to Upgrade similar to the behaviour
of other aur helpers.

Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
.nix added default.nix for nix dev env 2 years ago
src Change argument parsing to clap v3 derives 2 years ago
.gitignore edited gitignore 2 years ago
.gitlab-ci.yml Update .gitlab-ci.yml 2 years ago
CONTRIBUTING.md honestly not sure what i've done to anger the vcs gods today 2 years ago
Cargo.toml Change argument parsing to clap v3 derives 2 years ago
LICENSE.md general code cleanup 2 years ago
PKGBUILD fixed issue when a package with the same name was in both repos and aur 2 years ago
README.md Update README.md 2 years ago

README.md

Logo

Amethyst

Discord

Amethyst is a fast, efficient and lightweight AUR helper and Pacman wrapper.
Made for Crystal, compatible with any Arch-based Linux distribution.

Basic usage

Action FreeBSD pkg-style alias Pacman-style flags
Install a package ame ins/install ame -S
Remove a package ame rm/remove ame -R/-Rs
Upgrade a package ame upg/upgrade ame -Syu
Search for a package ame sea ame -Ss

Exit codes overview

Exit Code (i32) Reason
1 Running ame as UID 0 / root
2 Failed adding package to database
3 Failed initialising database
4 Error creating cache and/or database paths
5 Could not find one or more required package dependencies
6 User cancelled package installation
7 Pacman error when installing package

How to build:

Tested on latest Cargo (1.60.0-nightly)


Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release

Pkg-warner included

  • cargo build (--release) --all --features=pkg-warner