Add pre-commit subcommand