1.1.1 • Published 5 years ago
@feizheng/next-git-log v1.1.1
next-git-log
Git logs.
installation
npm install -S @feizheng/next-git-logapis
| api | type | default | description | 
|---|---|---|---|
| pretty | string | %h - %s | git log pretty | 
| since | string | 2020-05-01 | git log since | 
| before | string | TODAY | git log before | 
| suffix | string | '' | git log - ... suffix | 
| debug | boolean | false | Output the shell scripts | 
| async | boolean | true | ExecSync/exec the shell cmd | 
usage
import '@feizheng/next-git-log';
nx.gitLog({ since: '2020-06-01' }).then(res => {
  console.log(res);
});
// c1b0ca1 - docs: initail
// 6f6380f - refactor: use tmpl for template
// 5b51e88 - feat: initail