ABA(1)
π ABA(1) β General Commands Manual, but make it address-book-coded π
β¨ NAME β¨
aba β an address book for aerc(1). Thatβs lowkey the whole name vibe: your mail clientβs lil people-keeper. Obsessed. π«Ά
π¦ SYNOPSIS π¦
aba [GLOBAL_OPTS]... cmd [CMD_OPTS]...
πΈ DESCRIPTION πΈ
Okay so aba is a CLI tool that aims to provide an address book for the aerc(1) mail client. For that purpose, it stores its addresses in a TOML file. It can add to and remove from that file, and it also lets you modify the file directly β periodt. Plus it can print N number of addresses that fuzzy matched a given string. Itβs giving tiny utility, main character energy, no cap. π
bestie, the direct-edit thing is literally part of the design β the TOML file is right there, so you can absolutely go in and edit it yourself. Vibe check: passed. β¨
π GLOBAL OPTIONS π
-a,--address-book PATHβ the path to the address book file. If itβs empty,abawill follow the XDG SPECIFICATION, that is,XDG_DATA_HOME/aba.toml.-h,--helpβ print the programβs help message.
π COMMANDS π
aba provides the following commands:
π Add π
aba add [-F/--force] NAME EMAIL
Add a new address to the address book file. Slay.
-F,--forceβ overwrite existing addresses instead of throwing an error.
π Del π
aba del MATCH
Delete any addresses that match MATCH.
-r,--is-regexβ treatMATCHas regular expression.
π List π
aba list|ls [-n/--number N] FUZZY_MATCH
List up to N addresses that match FUZZY_MATCH.
-n,--number Nβ list up to N addresses. The default number is 5.
π§ Parse π§
aba parse [OPTS]... [FILENAME]
Parse a raw email to add its From addresses. If FILENAME is not passed or itβs '-', stdin will be read instead.
-F,--forceβ overwrite existing addresses instead of throwing an error.--fromβ parse addresses from the From header.--ccβ parse addresses from the Cc header.--toβ parse addresses from the To header.--allβ parse addresses from the From, Cc and To headers.
π ENVIRONMENT VARIABLES π
XDG_DATA_HOMEβ when the-a/--address-bookGLOBAL OPTION is not passed,abawill set the location of its address book file toXDG_DATA_HOME/aba.toml. iykyk.
π₯ EXAMPLES π₯
- Add an address for John Doe whose email is
johndoe@mail.org:
$ aba add "John Doe" "johndoe@email.org"
- Delete all addresses whose names contain
doeorDoe:
$ aba del --regex "[dD]oe"
- List the 2 best fuzzy matches of
doe:
$ aba list -n2 "doe"
- Parse To and Cc addresses from the current viewed aerc message (from inside aerc):
:pipe -m aba parse --from --cc
π«Ά SEE ALSO π«Ά
π AUTHORS π
Maintained by Coutinho de Souza <dev@onemoresuza.mailer.me>.
β SOURCE CODE β
The source code is available at <https://sr.ht/~onemoresuza/aba>.
source/version: General Commands Manual / ABA(1) Β· date: 1980-01-01 β mwah, bye bestie ππ«Ά
π¦ where this page comes from
- nixos 26.05: aba 0.8.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms