Global flags
| Flag | Description |
|---|---|
--help | Show help for the current command |
--json | Switch output from compact plain text to raw JSON |
--api-base-url <url> | Override the API origin for this invocation |
nylio help <command> to view help for any command:
Auth
Workspaces
Documents
Create a personal document. If you omit--title, the document defaults to “Untitled document”. You can pass the initial body as a positional argument, with --markdown, or piped through --stdin:
oldString or newString from stdin, but not both in the same call:
Search
Write-safety rules
documents editperforms one replacement per call.documents editsupports at most one stdin-backed field (--old-string-stdinor--new-string-stdin) per invocation.- Write commands are scoped to personal documents owned by the authenticated user.
documents replaceexpects Nylio enhanced markdown, not plain rich-text HTML.