Command Reference

Complete list of all tgrs flags and options. Use tgrs --help to see this in your terminal.

Usage

tgrs [METHOD] URL [KEY:VALUE ...] [OPTIONS]

tgrs run [PATH] [OPTIONS]

tgrs update

Request

FlagAliasDescription
-X--methodHTTP method (GET, POST, PUT, PATCH, DELETE, ...)
-I--headSend HEAD request
-H--headerAdd header (repeatable)
--headersAdd multiple headers: comma-separated or JSON object
-d--data, --bodyRaw request body. Use @filename to read from file
-f--formUse form encoding instead of JSON
-F--fileMultipart form field (repeatable)
-A--user-agentSet User-Agent header
-e--refererSet Referer header
-b--cookieSend cookies: inline or @file

Authentication

FlagAliasDescription
-u--authBasic auth (user:password)
-B--bearerBearer token
-K--api-key-queryAPI Key as query parameter (key=value)
--oauth2OAuth 2.0 (flow:token_url:client_id[:client_secret])
--oauth2-scopeOAuth 2.0 scope
--oauth2-auth-urlOAuth 2.0 authorization URL
--oauth2-usernameOAuth 2.0 username (password flow)
--oauth2-passwordOAuth 2.0 password (password flow)
--oauth2-portOAuth 2.0 callback port (default: 8484)

Response Display

FlagAliasDescription
-v--verboseShow request + response + timing + size
--response-headersShow only response headers
--response-bodyShow only response body
-p--printFine-grained: H=req headers, B=req body, h=res headers, b=res body
--rawNo colors, no formatting
--jsonFull JSON output for CI/CD
-r--dry-runShow request without sending
-s--silentSilent mode — no extra output
--no-compressedDisable automatic response decompression
-t--traceDetailed timing breakdown per request phase

Connection

FlagAliasDescription
-L--followFollow redirects
--max-redirectsMax redirects to follow (default: 10)
-m--timeoutTotal timeout in seconds
--connect-timeoutConnection timeout in seconds
-k--insecureSkip SSL verification
-x--proxyProxy URL
--retryRetry failed requests N times (default: 0)
--retry-delayBase delay between retries in seconds (default: 1)
--resolveOverride DNS resolution (HOST:PORT:ADDR)
-S--max-filesizeMaximum response body size in bytes

Protocol

FlagAliasDescription
--http1.1Force HTTP/1.1
--http2Force HTTP/2
--http3Force HTTP/3 (QUIC)
-C--cert-infoShow TLS certificate info

Session & Storage

FlagAliasDescription
-N--sessionNamed session — persists cookies and headers
-o--outputSave response body to file
-D--downloadDownload with progress bar (optional filename)
-c--cookie-jarWrite cookies to file

Assertions

FlagAliasDescription
-a--assertAssertion expression (repeatable, comma-separated)

Operators: equals (eq), not_equals (neq), contains, not_contains, greater_than (gt), less_than (lt), exists, not_exists, is_empty, is_not_empty, matches_regex, is_type

Info

FlagAliasDescription
-h--helpPrint help (-h summary, --help detailed)
-V--versionPrint version
--licensesShow third-party library licenses