Unknown command: help

KnownTrade query API
====================

This endpoint understands a small subset of shell commands.
Commands are URL-encoded and appended to /cmd/ — the full
command lives in the URL path so every distinct query has a
distinct cacheable URL.

COMMANDS
  tree [path]                   show the category hierarchy under [path]
  ls [path]                     list immediate children under [path]
  find [path] [--name pattern]  recursively find entries by slug or name
  cat <slug|path>               print the full markdown body of an entry
  head <slug|path> [-n N]       print the first N lines (default 10)
  tail <slug|path> [-n N]       print the last N lines (default 10)
  wc <slug|path>                word, line, character count
  grep <pattern> [path]         full-text search (FTS5)
  git log <slug|path>           version history for an entry
  git blame <slug|path>         simplified blame — last edit per line/section

ALIASES
  list -> ls
  fd -> find
  rg / ripgrep / git grep -> grep

EXAMPLES
  curl 'https://knowntrade.org/cmd/tree%20manufacturing'
  curl 'https://knowntrade.org/cmd/ls%20manufacturing%2Fapparel%2Fhoodie'
  curl 'https://knowntrade.org/cmd/cat%20unit-100'
  curl 'https://knowntrade.org/cmd/grep%20%22guangzhou%22'
  curl 'https://knowntrade.org/cmd/git%20log%20unit-100'

OUTPUT FORMATS
  default              plain text (terminal-friendly)
  ?format=json         structured JSON

See https://knowntrade.org/llms.txt for the full site overview.

---
Source: KnownTrade (https://knowntrade.org)
License: CC-BY-SA 4.0

