add manpage

This commit is contained in:
2021-09-19 13:55:16 +03:00
parent 799572fccf
commit 182bde5e09
4 changed files with 400 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.PHONY: architecture archive archive_directory archlinux check clean directory push tests version
.PHONY: architecture archive archive_directory archlinux check clean directory man push tests version
.DEFAULT_GOAL := archlinux
PROJECT := ahriman
@ -39,6 +39,9 @@ clean:
directory: clean
mkdir "$(PROJECT)"
man:
cd src && PYTHONPATH=. argparse-manpage --module ahriman.application.ahriman --function _parser --author "ahriman team" --project-name ahriman --author-email "" --url https://github.com/arcan1s/ahriman --output ../docs/ahriman.1
mypy:
cd src && mypy --implicit-reexport --strict -p "$(PROJECT)" --install-types --non-interactive || true
cd src && mypy --implicit-reexport --strict -p "$(PROJECT)"