Skip to content

API Reference parrot_formdesigner.cli

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_formdesigner.cli

View source

parrot formdesigner export, import, and translate commands (FEAT-650).

Attribute dsn_option

Function export

Write one form file plus export-report.json for each requested form.

export(dialect: str, tenants: tuple[str, ...], form_uids: tuple[str, ...], published_only: bool, locale: str, out_dir: Path, dsn: str | None) -> None

Parameter Type Default Description
dialect str
tenants tuple[str, ...]
form_uids tuple[str, ...]
published_only bool
locale str
out_dir Path
dsn str | None

Function formdesigner

FormDesigner dialect tools (FEAT-650).

formdesigner() -> None

Function import_surface

Extract an A2UI surface and persist it unless --dry-run is supplied.

import_surface(surface: Path, tenant: str, form_id: str | None, overwrite: bool, dry_run: bool, dsn: str | None) -> None

Parameter Type Default Description
surface Path
tenant str
form_id str | None
overwrite bool
dry_run bool
dsn str | None

Function main

Run the standalone module entry point.

main() -> None

Attribute tenant_option

Function translate

Translate JSON Schema to an A2UI createSurface envelope.

translate(schema_file: Path, source: str, target: str, form_id: str | None, tenant: str | None, locale: str, out_file: Path | None) -> None

Parameter Type Default Description
schema_file Path
source str
target str
form_id str | None
tenant str | None
locale str
out_file Path | None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally