go fmt
can log to stdout
extract hook matching
richer arguments for shell
pass the hook, add a token option to config