Skip to content

Results from this documentation version only.

    ← Alcubi Delegator

    Development preview · These guides describe unreleased source code.

    dg rpc

    Run a dg command from a JSON-RPC request on standard input.

    Read one JSON-RPC 2.0 request or batch from standard input, run the named dg method, and write a JSON-RPC response to standard output.

    dg rpc [flags]
    printf '%s\n' '{"jsonrpc":"2.0","method":"version","id":1}' | dg rpc
    printf '%s\n' '{"jsonrpc":"2.0","method":"show","params":{"args":[42]},"id":1}' | dg rpc
    -h, --help help for rpc
    --color mode when to colour status values: always, never, or auto (terminals only) (default auto)
    --data-dir string store all Delegator data in this absolute directory (default: the platform data directory)
    • dg - Delegate tasks to coding agents