gilp-util
v0.0.11
Published
Utils for gilp.
Downloads
29
Readme
Gilp Util
Utils for gilp.
Installation
npm install gilp-util
or
yarn add gilp-util
Usage
getArgs()
Read git hook's parameters.
const gilpUtil = require('gilp-util');
gilpUtil.getArgs();
getBranchName()
Get current branch
const gilpUtil = require('gilp-util');
gilpUtil.getBranchName();
getGitDirectory()
Return full path to git directory.
getBaseDirectory()
Return full path to base directory.
isInMerge()
Return true
if a merge is in progress.
getCommitMessage()
Return commit message.
License
Gilp Util is Copyright (c) 2020 sophilabs, inc. It is free software, and may be redistributed under the terms specified in the license file.
About
Gilp Util is maintained and funded by sophilabs, inc. The names and logos for sophilabs are trademarks of sophilabs, inc.