Skip to main content

fused json-ui

Inspect and run JSON-UI widgets.

fused json-ui [SUBCOMMAND] [OPTIONS]

Subcommands

SubcommandDescription
catalog-promptFetch the JSON-UI catalog prompt.
run-inline-widgetOpen a share URL with an inline widget query and capture a screenshot.
run-shared-widgetOpen a shared widget page and capture a screenshot.
schemasFetch JSON-UI schemas for components or for all components.
validateValidate 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

FlagDescription
--print-url-only
--browser [chrome|firefox](default: chrome)
--wait INTEGERSeconds to sleep after canvas loading settles before capture. (default: 2)
--screenshot-filename FILENAMESave 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

FlagDescription
--print-url-only
--browser [chrome|firefox](default: chrome)
--wait INTEGERSeconds to sleep after canvas loading settles before capture. (default: 2)
--screenshot-filename FILENAMESave 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