fused json-ui
Inspect and run JSON-UI widgets.
fused json-ui [SUBCOMMAND] [OPTIONS]
Subcommands
| Subcommand | Description |
|---|---|
catalog-prompt | Fetch the JSON-UI catalog prompt. |
run-inline-widget | Open a share URL with an inline widget query and capture a screenshot. |
run-shared-widget | Open a shared widget page and capture a screenshot. |
schemas | Fetch JSON-UI schemas for components or for all components. |
validate | Validate inline JSON5 config text or a JSON/JSON5 file path. |
fused json-ui catalog-prompt
Fetch the JSON-UI catalog prompt.
fused json-ui catalog-prompt
fused json-ui run-inline-widget
Open a share URL with an inline widget query and capture a screenshot.
fused json-ui run-inline-widget CANVAS_SHARE_TOKEN WIDGET_CONFIG [OPTIONS]
Options
| Flag | Description |
|---|---|
--print-url-only | — |
--browser [chrome|firefox] | (default: chrome) |
--wait INTEGER | Seconds to sleep after canvas loading settles before capture. (default: 2) |
--screenshot-filename FILENAME | Save the screenshot to the given file. It should be a PNG file path. |
fused json-ui run-shared-widget
Open a shared widget page and capture a screenshot.
fused json-ui run-shared-widget CANVAS_SHARE_TOKEN WIDGET_NAME [OPTIONS]
Options
| Flag | Description |
|---|---|
--print-url-only | — |
--browser [chrome|firefox] | (default: chrome) |
--wait INTEGER | Seconds to sleep after canvas loading settles before capture. (default: 2) |
--screenshot-filename FILENAME | Save the screenshot to the given file. It should be a PNG file path. |
fused json-ui schemas
Fetch JSON-UI schemas for components or for all components.
fused json-ui schemas [COMPONENTS...]
fused json-ui validate
Validate inline JSON5 config text or a JSON/JSON5 file path.
fused json-ui validate CONFIG_OR_PATH