CLI Reference

40+ commands. Plain English.

Query data, deploy agents, manage extensions, and run reports — all from a single CLI. No SQL. No stored procedures.

$ npm install -g @syteray/cli

Interactive Demo

Try the CLI — right here.

Run commands in a sandboxed terminal and see real output.

Commands

Eight command families

Every SyteLine operation organized into intuitive categories.

db

Database

Query SyteLine data in plain English. No SQL required.

sl db query "overdue POs over $10K"Natural language query
sl db tables --schema slxList extension tables
sl db export --format csv --filter activeExport data
ido

IDO Operations

Browse, query, and invoke SyteLine IDOs directly.

sl ido list --filter PurchaseOrderSearch IDOs
sl ido describe SLItemMstView properties & relations
sl ido invoke SLJobs --method LoadCall IDO methods
ext

Extensions

Create upgrade-safe extensions in the slx.* namespace.

sl ext create custom_report --type reportScaffold extension
sl ext plan slx.inventory_alertsPreview extension changes
sl ext list --status activeList deployed extensions
plan

Plan & Migrate

Plan upgrades, migrations, and rollbacks with confidence.

sl migrate analyze --from 10.2 --to 10.5Migration planner
sl migrate rollback --snapshot latestRollback plan
sl migrate diff --env staging prodEnvironment diff
deploy

Deploy

Deploy agents, extensions, and configurations safely.

sl deploy --env prodDeploy the pipeline
sl deploy status --watchMonitor deployment
sl deploy rollback --to previousRoll back deployment
ai

AI Agents

Manage 150+ AI agents. Deploy, monitor, and configure.

sl agent list --status runningList active agents
sl agent deploy demand-forecasterDeploy an agent
sl agent run finance-monitor --since 7dRun an agent
report

Reports

Generate and schedule reports with natural language.

sl report generate "inventory turnover Q4"Generate report
sl report schedule daily-kpis --cron '0 8 * * *'Schedule report
sl report export --format pdf --emailExport & email
meta

Meta & Config

System health, configuration, and diagnostics.

sl meta health --verboseSystem health check
sl meta config set policy.approval requiredSet policy
sl meta audit --last 24hView audit trail

Ready to try?

Install the CLI, connect to your SyteLine instance, and start querying in plain English in under 15 minutes.