axl

command module
v0.0.0-...-aee29da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Unlicense Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

$ go install github.com/avamsi/axl@latest
# https://github.com/avamsi/axl
source <(axl hooks zsh)
$ axl --help

axl watches over your commands.

Usage:
  axl [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  hooks       Shell hooks
  internal    Axl internal commands, not for general use
  list        List currently running commands
  wait        Wait for a command to finish running

Flags:
  -h, --help  help for axl

Use "axl [command] --help" for more information about a command.

Export AXL_NOTIFY to be notified when long running commands finish. Some examples:

export AXL_NOTIFY=cat
export AXL_NOTIFY="mail -s axl $USER"
export AXL_NOTIFY="slack-cli -d $USER"' "$(cat)"'

Export AXL_MESSAGE (per https://pkg.go.dev/text/template) to customize the message.
command, start, elapsed, code and host are available. This is the default:

export AXL_MESSAGE='💲 {{.command}}
⌚ {{.start}} + ⌛ {{.elapsed}}{{if ne .code 0}} -> 🙅 {{.code}}{{end}} @ 💻 {{.host}}'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址