db:*
DB-native
Backups, checks, repair, optimize, cleanup, and config reads can run from anywhere with direct DB flags.
$ oc core:check-requirements
OC-CLI gives OpenCart teams an audited Symfony Console surface for database maintenance, extensions, cache work, catalog operations, orders, and admin-user workflows. DB-native commands can run anywhere with credentials; runtime-backed commands target real OpenCart 3.x roots.
OpenCart 3.x root
$ composer global require custom-services-limited/oc-cli Install the package and expose the `oc` binary.
$ oc db:backup nightly.sql --compress Run DB-native maintenance with direct credentials or a detected store.
$ oc order:update-status 1 Processing Bootstrap real OpenCart 3.x models for runtime-backed workflows.
The website tracks the audited command surface instead of future-roadmap copy. The important split is execution mode: database-native commands can run with DB flags, while runtime-backed commands need a real OpenCart 3.x installation root.
db:*
Backups, checks, repair, optimize, cleanup, and config reads can run from anywhere with direct DB flags.
runtime-backed
Cache, catalog, order, admin-user, and modification flows bootstrap real OpenCart 3.x code.
--format=json
Read-heavy commands expose table, JSON, and YAML output for scripts, checks, and dashboards.
A small slice of the stable command surface. The full command-by-command detail lives in the API reference.
db:backup
oc db:backup extension:install
oc extension:install ./upload.ocmod.xml product:update
oc product:update 100 --price=24.99 --quantity=5 order:update-status
oc order:update-status 1 Processing user:create
oc user:create cli-admin cli-admin@example.com 'StrongPass!123' --firstname=CLI --lastname=Admin Install the package with Composer, then use the real binary name: `oc`.
composer global require custom-services-limited/oc-cli Install locally
composer require --dev custom-services-limited/oc-cli Run from a repo checkout
php bin/oc core:version oc list --raw The docs now track the audited repo, so the API reference and getting-started guide reflect the commands that actually ship today.