Skip to content

Refactor to a new skill that covers general now-sdk#87

Open
bryce-godfrey wants to merge 4 commits into
masterfrom
scratch/query-skill
Open

Refactor to a new skill that covers general now-sdk#87
bryce-godfrey wants to merge 4 commits into
masterfrom
scratch/query-skill

Conversation

@bryce-godfrey

Copy link
Copy Markdown
Collaborator

Refactoring to new skill /now-sdk that covers how to discover the cli help, explain, and query

The required flag for filtering is `-q` / `--query`. Every query call needs it along with the table name

```bash
npx @servicenow/sdk query [table] -q '[query]'

@ryan-palmer-snc ryan-palmer-snc Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do we explain what the actual query needs to look like? Is there a description of encoded query format in the --help page or explain topic?

@bryce-godfrey bryce-godfrey Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the "query" guide that it should load from the earlier "explain query" on line 84

@ryan-palmer-snc

Copy link
Copy Markdown
Collaborator

We need to update the top-level README too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants