The "json" command:
Usage: fossil json SUBCOMMAND ?OPTIONS?
In CLI mode, the -R REPO common option is supported. Due to limitations in the argument dispatching code, any -FLAGS must come after the final sub- (or subsub-) command.
The -json-input FILE option can be used to read JSON data and process it like the HTTP interface would. For example:
fossil json -json-input my.json
The commands include:
anonymousPassword artifact branch cap config diff dir g login logout query rebuild report resultCodes stat tag timeline user version (alias: HAI) whoami wiki
Run 'fossil json' without any subcommand to see the full list (but be aware that some listed might not yet be fully implemented).