tcgwiki-cli

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: Apache-2.0

README

Tcgwiki CLI

The official CLI for the Tcgwiki REST API.

It is generated with Stainless.

Installation

Installing with Go
go install 'github.com/jihuanshe/tcgwiki-cli/cmd/tcgwiki@latest'
Running Locally
./scripts/run args...

Usage

The CLI follows a resource-based command structure:

tcgwiki [resource] [command] [flags]
tcgwiki qa list \
  --game-key game_key \
  --page 1 \
  --page-size 1 \
  --skip-auth

For details about specific commands, use the --help flag.

Global Flags

  • --help - Show command line usage
  • --debug - Enable debug logging (includes HTTP request/response details)
  • --version, -v - Show the CLI version
  • --base-url - Use a custom API backend URL
  • --format - Change the output format (auto, explore, json, jsonl, pretty, raw, yaml)
  • --format-error - Change the output format for errors (auto, explore, json, jsonl, pretty, raw, yaml)
  • --transform - Transform the data output using GJSON syntax
  • --transform-error - Transform the error output using GJSON syntax

Directories

Path Synopsis
cmd
tcgwiki command
internal
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL