GT-SCHEMA(1) gitea-cli Manual GT-SCHEMA(1) NAME gt-schema - Print the JSON fields that commands output SYNOPSIS gt schema [...] [flags] DESCRIPTION Print the fields that --json selects, with their JSON types, for every command that outputs JSON, or for the commands under the one named. The output is JSON and can be filtered with --jq. See gt help formatting for what scripts may rely on. OPTIONS -h, --help[=false] help for schema OPTIONS INHERITED FROM PARENT COMMANDS --debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr --host="" Gitea instance URL, including any base path --interactive[=false] Allow prompts with machine output -q, --jq="" Filter JSON output using a jq expression; implies --json --no-input[=false] Disable prompts and implicit editor/browser interactions --sudo="" Perform API requests as this user (requires an administrator account) --user="" Account name on the selected instance EXAMPLE $ gt schema issue list $ gt schema --jq '.commands[] | select(.command == "gt pr view") | .fields[].name' SEE ALSO gt(1) gitea-cli Nov 2026 GT-SCHEMA(1)