维护postmt sqlite数据库
Postamt的Python项目详细描述
目标
有一个命令行接口来管理 https://github.com/diefans/postamt-docker。
用法
使用pip安装postmt:
$ pip install postamt
从cli调用它:
$ postamt Usage: postamt [OPTIONS] COMMAND [ARGS]... Manage postamt sqlite database. Options: --debug / --no-debug --db PATH The postamt database file --help Show this message and exit. Commands: address Manage Address table. alias Manage Alias table. domain Manage Domain table. init Init or reset the whole postamt database. user Manage VMailbox table.
可以将POSTAMT_DB环境设置为指向数据库。