0.5.11 • Published 9 years ago

@thebespokepixel/guppy-cli v0.5.11

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

guppy-cli

Install git-hooks for use with git-guppy.

Special git-hooks that invoke git-guppy can be installed using the commandline utility or by requiring guppy-cli as a dependency and calling the provided methods.

Commandline Usage

Install with npm install -g guppy-cli

Usage: guppy <hookname>|all|standard|flow|everything [-d <path>]

Commands:
  hookname Install a git-hook by name, for a list, see --hooks
  standard Install all available standard git-hooks. (Use caution!)
  flow     Install all available git-flow-hooks. (Use caution!)
  all      Installs all available hooks! (Use caution!)

Options:
  -d, --dest  Destination path for git-hook (default: ./.git/hooks/)
  --hooks     Print a complete list of available git-hooks
  -h, --help  Show help                                                         [boolean]
  --version   Show version number                                               [boolean]

Examples:
  guppy pre-commit
  guppy pre-commit -d some/where
  guppy all

Existing git-hooks will be backed up the first time. If a backup already exists, it will not be overwritten. The extension .guppy will be appended to the filename of existing git-hooks when backing up.

Pre-packaged installers

For convenience, each type of git-hook has an installer package.

Install any package as a dev-dependency to install the associated git-hook automatically.

npm install --save-dev <package>

This fork also includes the following hooks for git-flow-avh

Dependency Usage

To use guppy-cli as a dependency, install with:

npm install --save guppy-cli

Available methods:

  • gup.install(hookname, destination, callback(err, result)) - Install the named hook to destination.
  • gup.installAll(destination, callback(err)) - Install all standard hooks to destination.
  • gup.installSet(destination, 'all'|'standard'|'flow'|'everything' callback(err)) - Install hook sets to destination.
@thebespokepixel/guppy-filter-flow-release-finish-tag-message@thebespokepixel/guppy-filter-flow-release-start-version@thebespokepixel/guppy-post-flow-release-finish@thebespokepixel/guppy-post-flow-release-start@thebespokepixel/guppy-prepare-commit-msg@thebespokepixel/guppy-update@thebespokepixel/guppy-applypatch-msg@thebespokepixel/guppy-commit-msg@thebespokepixel/guppy-filter-flow-hotfix-finish-tag-message@thebespokepixel/guppy-filter-flow-hotfix-start-version@thebespokepixel/guppy-filter-flow-release-branch-tag-message@thebespokepixel/guppy-hook-generator@thebespokepixel/guppy-post-applypatch@thebespokepixel/guppy-post-checkout@thebespokepixel/guppy-post-commit@thebespokepixel/guppy-post-flow-bugfix-delete@thebespokepixel/guppy-post-flow-bugfix-finish@thebespokepixel/guppy-post-flow-bugfix-publish@thebespokepixel/guppy-post-flow-bugfix-pull@thebespokepixel/guppy-post-flow-bugfix-start@thebespokepixel/guppy-post-flow-bugfix-track@thebespokepixel/guppy-post-receive@thebespokepixel/guppy-post-rewrite@thebespokepixel/guppy-post-update@thebespokepixel/guppy-pre-applypatch@thebespokepixel/guppy-pre-auto-gc@thebespokepixel/guppy-pre-commit@thebespokepixel/guppy-pre-flow-feature-delete@thebespokepixel/guppy-pre-flow-feature-finish@thebespokepixel/guppy-pre-flow-feature-publish@thebespokepixel/guppy-pre-flow-release-delete@thebespokepixel/guppy-pre-flow-release-finish@thebespokepixel/guppy-pre-flow-release-publish@thebespokepixel/guppy-pre-flow-release-start@thebespokepixel/guppy-pre-flow-release-track@thebespokepixel/guppy-pre-push@thebespokepixel/guppy-pre-rebase@thebespokepixel/guppy-pre-receive@thebespokepixel/guppy-pre-flow-feature-pull@thebespokepixel/guppy-pre-flow-feature-start@thebespokepixel/guppy-pre-flow-feature-track@thebespokepixel/guppy-pre-flow-hotfix-delete@thebespokepixel/guppy-pre-flow-hotfix-finish@thebespokepixel/guppy-pre-flow-hotfix-publish@thebespokepixel/guppy-pre-flow-hotfix-start@thebespokepixel/guppy-pre-flow-release-branch@thebespokepixel/guppy-post-flow-feature-delete@thebespokepixel/guppy-post-flow-feature-finish@thebespokepixel/guppy-post-flow-feature-publish@thebespokepixel/guppy-post-flow-feature-pull@thebespokepixel/guppy-post-flow-feature-start@thebespokepixel/guppy-post-flow-feature-track@thebespokepixel/guppy-post-flow-hotfix-delete@thebespokepixel/guppy-post-flow-hotfix-finish@thebespokepixel/guppy-post-flow-hotfix-publish@thebespokepixel/guppy-post-flow-hotfix-start@thebespokepixel/guppy-post-flow-release-branch@thebespokepixel/guppy-post-flow-release-delete@thebespokepixel/guppy-post-flow-release-publish@thebespokepixel/guppy-post-flow-release-track@thebespokepixel/guppy-post-merge
0.5.11

9 years ago

0.5.10

9 years ago

0.5.9

10 years ago

0.5.8

10 years ago

0.5.7

10 years ago

0.5.6

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago