...
1# Generating amtool artifacts
2
3Amtool comes with the option to create a number of ease-of-use artifacts that can be created.
4
5## Shell completion
6
7A bash completion script can be generated by calling `amtool --completion-script-bash`.
8
9The bash completion file can be added to `/etc/bash_completion.d/`.
10
11## Man pages
12
13A man page can be generated by calling `amtool --help-man`.
14
15Man pages can be added to the man directory of your choice
16
17 amtool --help-man > /usr/local/share/man/man1/amtool.1
18 sudo mandb
19
20Then you should be able to view the man pages as expected.
View as plain text