Skip to content

CLI: --json output for send/receive #41

Description

@Kerim-Sabic

lightning-p2p-cli (src-tauri/src/cli.rs) prints human text. Scripts want structured output: --json should emit one JSON object on stdout (ticket/label/size for send; output_path/size/route/download_ms for receive).

Acceptance: send --json and receive --json emit valid JSON only on stdout; docs in --help; unit test for the shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions