posthog-cli api: `call`, `info` and `search` read `--help` as a tool name
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- cli
Research direction
The issue names no source files or tests. Start by locating the posthog-cli API subcommand handlers for call, info, and search, then check how their arguments are parsed. Done means --help and -h show usage for call and info, and search --help shows usage instead of searching for those words.
Written by the indexing model from the issue text.
Description
Version: @posthog/cli 0.19.0, the newest on npm on 4 November 2026.
What happens: api --help prints help, but its subcommands take --help or -h as their first argument.
posthog-cli api call --helpprintsError: Unknown tool: "--help". Run "search --help" to find the current tool name before claiming the capability is unavailable.posthog-cli api info --helpprints the same error.posthog-cli api call -hprints it for"-h".posthog-cli api search --helpsearches for the words--helpand returns{"matches":[]}.
The error's own advice, search --help, hits the same defect, so an agent following it never reaches the subcommand's usage.
Expected: --help and -h print each subcommand's usage, as api --help does.
- Dominant language
- Python
- Stars
- 40.8k
- Forks
- 3.6k
- Avg merge
- 6h 43m
- Merged PRs (30d)
- 254
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PostHog/posthog
-
self-driving
Difficulty 1/5 Under an hour Newbie friendliness 74/100
PostHog/posthog#136106 · 1 comment ·
Maintainers usually reply within 1 day
-
Dashboards: selecting a SQL variable value equal to its default is dropped when the dashboard saved another valuePossibly taken @Inf1mum claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
PostHog/posthog#132024 · 1 comment ·
Maintainers usually reply within 1 day
-
self-driving
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PostHog/posthog#130181 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PostHog/posthog#128849 · 2 comments ·
Maintainers usually reply within 1 day
-
Reddit Ads destination: `test_mode` is hard-coded to false, so the test panel posts live conversionsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PostHog/posthog#128848 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Install the skills as a Claude Code pluginPossibly taken @ruban-24 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
FAIRmat-NFDI/pynxtools#874 ·
-
Eval: PublicationOpendata
Difficulty 2/5 1-3 hours Newbie friendliness 66/100