sndev.io / docs

Commands

39 commands in this section

backout

Back out an update set via CI/CD API.

capture

Create local manifest drafts from existing records, exports, update sets, or app metadata.

catalog-order

Order a catalog item via the Service Catalog API.

catalog-submit-producer

Submit a record producer via the Service Catalog API.

catalog-vars

Get variable schema for a catalog item.

convert

Convert a flow or legacy workflow into a manifest — live flow by default; --from-xml for offline flow XML; --workflow for Workflow Editor migration.

delete

Delete a record by sys_id.

diagram

Render a manifest dependency graph, or a single Flow Designer flow outline.

drift

Compare last execute's snapshot against the live instance.

execute

Run a manifest against your ServiceNow instance.

export-records

Export rows from any table to XML, CSV, or Table-API JSON.

export-sdk

Export manifest as ServiceNow SDK Fluent project.

get

Fetch records from any ServiceNow table.

hygiene

Offline manifest sweep — schema + preflight + per-skill checks across all manifests.

init

Scaffold a new ServiceNow manifest project from a template.

inspect

Unified record / flow / XML inspector. Four modes selected by --flow and --from-xml.

instance

Manage the instance registry — add, list, test, extract, and probe health.

jsonv2

Legacy JSONv2 web service — reads + writes that bypass Table API validation. Use sparingly.

lint

Static + instance-aware manifest validation.

modify-xml

Patch fields inside an exported XML — rewrite scope, rename a flow, set arbitrary field values.

openapi

Ingest an OpenAPI/Swagger spec into sys_openapi and generate per-tag manifests.

ops

List available skills, operations, and their input schemas.

platform

Instance platform primitives — build tag, row counts, Table-API dumps.

preflight

Static + optional instance-aware validation before execute.

preview

Emit the human-review artifact bundle — manifest graph, per-flow intent, README.

publish-flows

Publish all flows in a manifest.

pull

Snapshot instance reference data for offline preflight.

regression

Run all example manifests end-to-end and report pass/fail.

rest

Authenticated ad-hoc REST call against the current instance.

run-scan

Trigger instance scans and report findings.

run-suite

Execute a specific ATF test suite and report results.

schema

Query and cache table field schemas from your ServiceNow instance.

state

Fleet ownership + execution log views across every manifest.

test

Behavioral testing with ATF suites and instance scans.

tracked

List records tracked in an update set, grouped by table.

ui-test

Generate UI test plan from ui-manifest.ts companion.

ui-plan

Dry-run preview of what ui-run would do, without launching Playwright.

update

Update a record by sys_id.

validate

Structural validation of records created by execute.