These scripts fetch and display the comments of an AUR package.
Two versions are provided: Python and Shell.
The Python version is the recommended one. It is faster and has better comments
formatting. Additionally, the shell version does not support some options like
-b
and -i
.
This program is also available from the AUR:
aur-talk-git. It will be
installed as aur-talk
and can be used directly with
aurutils 2.0+ as a
contrib script (e.g.
aur talk aurutils -p
).
- Python version:
$ ./aur_talk.py [...] <PACKAGE-NAME>
- Shell version:
$ ./aur_talk.sh [...] <PACKAGE-NAME>
Usage: aur_talk [-h] [-a | -n NUM_COMMENTS] [-p | -l] [-w WIDTH | -f] <PACKAGE-NAME>
Display AUR comments for PACKAGE-NAME.
-h, --help show this help message and exit
-a, --all Fetch all comments.
-n NUM_COMMENTS, --num-comments NUM_COMMENTS
Number of comments to fetch. Pinned comments are
always fetched.
-p, --pinned-only Display the pinned comments only.
-l, --latest-only Display the latest comments only.
-w WIDTH, --width WIDTH
Number of columns for formatting comments. Default
is full available width.
-b, --bold Render **bold** text. May not work depending on your
terminal.
-i, --italic Render _italic_ text. May not work depending on your
terminal.
aur_talk.py
dependencies:
Arch users can install them from the main repo: python
, python-lxml
and
python-html2text
.
aur_talk.sh
dependencies:
Arch users can install them from the main repo: curl
and hq
).