CLI Commands — occ ghl:* for sync and testing #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
No CLI interface exists. Admin must use the web UI to trigger sync or test connection.
Requirements
occ ghl:sync [--type=all|contacts|calendar|opportunities|files]— trigger sync for one or all entities with verbose outputocc ghl:test-connection— test GHL API connectivity and display resultocc ghl:status— show sync status (last sync time, per-entity counts)OCP\Command\CommandFiles to create
lib/Command/SyncCommand.phplib/Command/TestConnectionCommand.phplib/Command/StatusCommand.phpappinfo/info.xmlto register commandsAcceptance