Development preview · These guides describe unreleased source code.
This page is not available in the selected version. Start with its overview below.
dg rpc
Run a dg command from a JSON-RPC request on standard input.
Synopsis
Section titled “Synopsis”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]Examples
Section titled “Examples” 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 rpcOptions
Section titled “Options” -h, --help help for rpcOptions inherited from parent commands
Section titled “Options inherited from parent commands” --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)SEE ALSO
Section titled “SEE ALSO”- dg - Delegate tasks to coding agents