跳转到主要内容

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

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪个,请了解有关安装软件包的更多信息。

源分布

Postamt-0.1.0.tar.gz (10.4 kB 查看哈希值)

上传时间

构建分布

Postamt-0.1.0-py2.py3-none-any.whl (7.8 kB 查看哈希值)

上传于 Python 2 Python 3

支持

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