Skip to content

It helps developers easily set up, configure, and run Git hooks, such as pre-commit hooks, in a Go-centric environment.

License

Notifications You must be signed in to change notification settings

kostikovk/hooky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hooky CLI

Hooky CLI is a command-line tool for managing Git hooks in Go projects. Designed with simplicity and efficiency in mind, Hooky makes it easy to set up, configure, and run Git hooks such as pre-commit, pre-push, and more. Whether you’re enforcing coding standards, running tests, or automating tasks, Hooky streamlines the process in a Go-centric development workflow.

Features

  • Easy Hook Management: Install and configure Git hooks effortlessly.
  • Go-Friendly: Optimized for Go projects and workflows.
  • Customizable Hooks: Define and execute your custom Git hooks.
  • Seamless Integration: Works out of the box with Git repositories.

Installation

To install Hooky CLI, run the following command:

go install github.com/kostikovk/hooky@latest

Note: Replace @latest with a specific version if you want to install a particular release.

Usage

To get started with Hooky CLI, run the following command:

hooky init

This command initializes Hooky in your Git repository and creates a .hooky directory with default hooks.

Install specific hook

To install a specific hook, run the following command:

hooky install pre-commit

This command installs the pre-commit hook in your Git repository. If it's already installed, it will overwrite the existing hook.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Submit a pull request with a clear description of your changes.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

It helps developers easily set up, configure, and run Git hooks, such as pre-commit hooks, in a Go-centric environment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published