Add hook commands specific options.
Add specs for hook commands.
Add hook features to ci run.