Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .agents/skills/gog/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ stable exit codes, command guards, and untrusted-content wrapping apply across
the CLI. Root help summarizes the human contract; `schema` exposes command
syntax, stable exit codes, and effective safety state for automation.

For JSON output projection, `--fields` is accepted as an alias for `--select` on
commands that do not define their own API field-mask `--fields`; commands with a
local field-mask flag keep that command-specific meaning.

Pick the account explicitly for API work:

```bash
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,9 @@ Useful global flags:
- `--client <name>`: select a stored OAuth client
- `--json`: JSON stdout
- `--plain`: stable parseable text stdout
- `--select <csv>`: in JSON mode, project output fields. `--fields` is
accepted as an alias on commands that do not define their own API field-mask
`--fields`.
- `--wrap-untrusted`: in JSON/raw output, wrap fetched free-text fields with
external untrusted-content markers for LLM/agent consumption
- `--dry-run`: print intended actions where a command supports planning
Expand Down
4 changes: 4 additions & 0 deletions docs/automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ being silently ignored. Explicit output flags override `GOG_JSON` and
`GOG_PLAIN` environment defaults. `gog schema` always emits JSON and rejects
`--plain`.

`--fields` is accepted as an alias for `--select` output projection on commands
that do not define their own API field-mask `--fields`; commands with a local
field-mask flag keep that command-specific meaning.

Use `--no-input` in CI and unattended processes. Use `--wrap-untrusted` when
Google-hosted free text will be consumed by an LLM or another instruction-aware
system.
Expand Down