2.0.2 • Published 7 months ago
git-command-helper v2.0.2
git-command-helper
GitHub CLI Helper For NodeJS. Parse responses from github CLI to NodeJS Object Oriented Programming (OOP).
Features
- Submodule parser
- Asynchronous friendly
Installation
Beta Version
npm i https://github.com/dimaslanjaka/git-command-helper.git
to update beta version
npm update git-command-helper
Production Version
npm i git-command-helper
Documentation
Usages
Example
import git from 'git-command-helper' // const git = require('git-command-helper').default
// start current dir
const github = new git(__dirname)
// get current status
git.status().then(console.log)
// get submodule informations
if (git.submodule.hasSubmodule()) console.log(git.submodule.get());
Custom Command
github.spawn('git', ['fetch'], { stdio: 'pipe' }).then(console.log)
Another Examples
Links
2.0.2
7 months ago
1.2.5
12 months ago
1.2.4
12 months ago
2.0.1
11 months ago
1.2.0
1 year ago
1.1.9
1 year ago
1.2.3
12 months ago
1.2.2
1 year ago
1.1.10
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.1
1 year ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.1.4
1 year ago
1.0.5
2 years ago
1.1.3
1 year ago
1.1.2
1 year ago
1.0.11
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago