跳转到主要内容

维护postamt sqlite数据库

项目描述

目标

https://github.com/diefans/postamt-docker的管理提供一个命令行界面。

用法

使用pip安装postamt

$ 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环境变量设置为指向您的数据库。

支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面