Skip to content

tboerc/go-aur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-aur

Github license

go-aur as its name suggests, is a CLI tool written in Go for managing AUR packages. I created this for personal use and to practice Go, but feel free to give it a try.

How it works?

This tool was created to automate the manual process I typically use for managing my few AUR packages into a CLI tool. All the packages will be cloned into a hidden folder called .aur inside your home directory. You can install, list, update, and remove them.

When executing `pacman`` commands, sometimes it will prompt the user to proceed or not. These questions don't display correctly when running the command through Go. Simply pressing ENTER continues with the command execution.

Installation

  • Use the Go command tool: go install github.com/tboerc/go-aur@latest.
  • Alternatively, download the executable from the Releases and add it to your PATH.

Reference

install

go-aur install AUR_GIT_URL

Clones into ~/.aur and installs the package along with necessary dependencies.

update

go-aur update

Updates every package inside ~/.aur.

list

go-aur list

Lists every package inside ~/.aur along with its current version.

remove

go-aur PACKAGE_NAME

Uninstalls the package from the system and deletes its folder from ~/.aur

About

another tool to manage AUR packages

Resources

License

Stars

Watchers

Forks

Languages