posty-cli: a parancssori eszköz
Telepítés, a kimeneti szerződés, a dátumkezelés, és mire jó egy parancssori eszköz egy ütemezőhöz.
Installation
posty-clipostynpm install -g posty-clinpm install -g posty-cli
posty --version
posty --helpFirst commands
posty auth:login # böngészős bejelentkezés
posty auth:status # melyik munkaterülethez van kötve a gép
posty integrations:list # a bekötött csatornák, azonosítóvalAll other commands expect this value as the channel ID. List it once and save it.
The output contract
Results go to stdout as JSON. Status messages and errors go to stderr. On failure, the command exits non-zero. That's what makes the output safe to pipe to other commands, and lets the caller know what happened.
# csak a csatornaazonosítók
posty integrations:list | jq -r '.[].id'
# ütemezett futásban a hibák a naplóba mennek, a JSON a feldolgozónak
posty posts:list --startDate ... --endDate ... > naptar.json 2>> hiba.logDates and time zones
Always provide an unambiguous date. There are two valid ways to specify it:
- ISO 8601 with an explicit offset:
2026-12-31T12:00:00Zor2026-12-31T12:00:00+01:00. - A time without an offset and a specified time zone:
"2026-12-31 12:00"with the--timezone Europe/Budapestflag.
If you provide a date without an offset and don't set a time zone using the flag, the POSTY_TIMEZONE variable, or posty config:set timezone, the command exits with an error. That's intentional. A post scheduled for the wrong time without warning is much worse than an error message.
posty config:set timezone Europe/Budapest
posty config:get timezoneFor agents
The package includes a SKILL.md file that describes every command and flag. An agent with terminal access can learn to use the CLI from that file, without reading a website.
If your agent connects directly instead of working through a shell, use the MCP server instead.