json-schema(1)
json-schema(1) π
okay bestie, welcome to the General Commands Manual entry for json-schema β she generates JSON Schema of the given command(s) JSON output, and she ate. β¨
NAME π
json-schema β Generate JSON Schema of the given command(s) JSON output.
SYNOPSIS π
json-schema [-d|--dir] [-h|--help] [CMDS]
DESCRIPTION π¦
okay so this command lets you generate the JSON Schema describing the --json output of a given command. The schema is printed to the standard output, so you can write it to a file using unix redirection β iconic, no cap. π
Giving a directory instead writes one schema per command in it, and it creates the directory if it does not exist. slay. πΈ
OPTIONS β¨
-d,--dir <PATH>β Save JSON Schemas to the given directory.-h,--helpβ Print help (see a summary with-h).[CMDS]β Command(s) for which JSON Schema should be generated for.- A command is named after its full path, dash-separated, as in
himalaya-envelope-list. - Defaults to every command, which requires a directory.
- A command is named after its full path, dash-separated, as in
lowkey important, bestie: if you donβt pass [CMDS], it defaults to every command, and that requires a directory. π«Ά
okay thatβs the whole page!! footer vibes: json-schema and json-schema(1) from the General Commands Manual β source/version noted, and no date was printed so Iβm not inventing one. bye bestie ππ
π¦ where this page comes from
- arch rolling: himalaya 2.2.1-2 Β· MIT AND Apache-2.0
- nixpkgs unstable: himalaya 2.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms