sndev.io / docs

Commands

39 commands in this section

activate-plugin

Activate a ServiceNow plugin by ID.

attachments

List attachments on a record.

backout

Back out an update set via CI/CD API.

batch-create

Batch-create records from a CSV or JSON file.

batch-delete

Batch-delete records matching a query.

batch-update

Batch-update records matching a query.

clean-us

Clean stale records from an update set.

convert-workflow

Convert a legacy workflow to a flow manifest.

count

Count records matching a query.

custom

Run a custom TypeScript script against the instance.

delete

Delete a record by sys_id.

download

Download attachments from a record.

execute

Run a manifest against your ServiceNow instance.

exists

Check if a record exists (exit code 0/1).

export-sdk

Export manifest as ServiceNow SDK Fluent project.

get

Fetch records from any ServiceNow table.

get-one

Fetch a single record by query.

inspect

Pretty-print a single record with display values, field types, and reference links.

inspect-us

Inspect the contents of an update set.

lint

Static + instance-aware manifest validation.

openapi

Alias for swagger — generate manifests from an OpenAPI spec.

ops

List available skills, operations, and their input schemas.

probe-write

Test field writability via PATCH comparison.

publish-flow

Publish all flows in a manifest.

rebuild-cache

Rebuild label_cache for a flow.

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.

search-code

Search server-side scripts by content.

search-groups

Search assignment groups by name.

swagger

Generate manifests from a Swagger/OpenAPI spec.

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.

update

Update a record by sys_id.

update-sets

List update sets with status.

upload

Upload a file as an attachment to a record.

validate

Structural validation of records created by execute.

validate-us

Validate an update set for promotion.