Cheeky  Help: test-th-hook

The "test-th-hook" command:

Usage: fossil test-th-hook TYPE NAME FLAGS

Evaluates the TH1 script configured for the pre-operation (i.e. a command or web page) "hook" or post-operation "notification". The results of the script evaluation, if any, will be printed to the standard output channel. The NAME argument must be the name of a command or web page; however, it does not necessarily have to be a command or web page that is normally recognized by Fossil. The FLAGS argument will be used to set the value of the "cmd_flags" and/or "web_flags" TH1 variables, if applicable. The TYPE argument must be one of the following:

cmdhook
Executes the TH1 procedure [command_hook], after setting the TH1 variables "cmd_name", "cmd_args", and "cmd_flags" to appropriate values.

cmdnotify
Executes the TH1 procedure [command_notify], after setting the TH1 variables "cmd_name", "cmd_args", and "cmd_flags" to appropriate values.

webhook
Executes the TH1 procedure [webpage_hook], after setting the TH1 variables "web_name", "web_args", and "web_flags" to appropriate values.

webnotify
Executes the TH1 procedure [webpage_notify], after setting the TH1 variables "web_name", "web_args", and "web_flags" to appropriate values.

Options:

--cgi
Include a CGI response header in the output
--http
Include an HTTP response header in the output
--th-trace
Trace TH1 execution (for debugging purposes)