0.5.1 • Published 4 years ago
turbo-git-config v0.5.1
turbo-git-config
Turbo git config -> Parser & Utils for commit conventions.
This lib is part of the Turbo Git -> Making your git even more awesome 😎🙌
Note: This package is in charge of get and parse the
.turbogitconfig file on the corresponding git repo. If this config file is not on the repo this will use the default convention config. At the moment the default one is the Turbo Commit Convention
how to use it:
npm install --save turbo-git-configAnd then from the code when you need use it:
Config Parser
var configParser = require('turbo-git-config').parserUtils
var utils = require('turbo-git-config').utilsConfig Parser Methods:
- getTagsFormat
- getCommitConf
- getProperty
- getLogCommand
- getCommitPromptText
- getConfigFilesData
Utils Methods:
- checkGitRepoExistence
- checkLocalConfigFile
- getGitRepoMainPath
- showError