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