hogli

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

hogli - PostHog Developer CLI

hogli - PostHog 开发者CLI

Unified CLI for PostHog development. Wraps all repo scripts, bin commands, and tooling behind a single entry point. There is no Makefile — hogli is the equivalent.
Run
hogli --help
to get the full, current command list. Run
hogli <command> --help
for any subcommand.
用于 PostHog 开发的统一CLI。将所有仓库脚本、bin 命令和工具封装到单一入口点。项目中没有 Makefile —— hogli 就是等效替代方案。
运行
hogli --help
可获取完整的最新命令列表。对任意子命令可运行
hogli <command> --help
查看对应帮助。

Process logging (for agents/debugging)

进程日志(供 Agent/调试使用)

hogli dev:setup --log
enables file logging for all mprocs processes. Logs go to
/tmp/posthog-<process>.log
where
<process>
matches the mprocs process key (see
bin/mprocs.yaml
).
hogli dev:setup --log
可为所有 mprocs 进程启用文件日志。日志存储在
/tmp/posthog-<process>.log
,其中
<process>
对应 mprocs 进程键(可参考
bin/mprocs.yaml
)。

Key references

关键参考

  • common/hogli/manifest.yaml
    — command definitions (source of truth)
  • common/hogli/commands.py
    — extension point for custom Click commands
  • common/hogli/README.md
    — full developer and architecture docs
  • common/hogli/manifest.yaml
    — 命令定义(唯一可信源)
  • common/hogli/commands.py
    — 自定义 Click 命令的扩展点
  • common/hogli/README.md
    — 完整的开发者和架构文档