Client

gonemaster-client is the command-line client for gonemaster-server. Use it when you want to submit jobs, run batches, inspect stored results, or query tagged analysis data through the admin API.

For direct local tests that do not use the server, use ../cli/ .

Connection

The default server is:

gonemaster-client --server http://localhost:8080/api/v1 jobs list

Set --server to the admin API base URL. Public API endpoints are not the default target for this client.

Global Options

FlagTypeDetails
--server URLstringBase admin API URL. Default http://localhost:8080/api/v1.
--timeout DURATIONstringHTTP timeout. Default 30s.
--format FORMATstringpretty, json, jsonl, or json-stream.
--output PATHstringWrite output to a file.
--locale LOCALEstringLocale for translated result messages. Default en.
--no-colorboolDisable ANSI colors in pretty output.
--header NAME:VALUErepeatableAdd an HTTP header.
--versionboolPrint version information and exit.

Subcommand flags may be placed before or after positional arguments.

Output Formats

Use --format pretty for terminal output and --format json for scripts. Use jsonl or json-stream when a command emits multiple JSON records. Most commands also accept --output PATH.

Exit codes:

  • 0: success
  • 2: usage or runtime error, including HTTP errors
  • 130: interrupted by signal

Command Groups

  • jobs: submit, watch, cancel, purge, and fetch job results.
  • batches: inspect and manage batch groups.
  • queue: pause, resume, reorder, or remove queued jobs.
  • domains: inspect and tag domain records.
  • tags: manage named domain collections.
  • runs: inspect completed historical runs.
  • entries: query stored log entries.

Guides

The concise Unix man-page form is kept at ../man/gonemaster-client.1.md .