code story cli
Get your code activity log for standup from git. ⚠️ This is beta version
Opinionated git log parser shows which code you worked on in the specified period, providing additional useful information.
- group commit by branch
- show link on task tracker
- show link on PR, branch or tag
- the ability to set working day for smart detect show log period with common usage
- the ability to set the start time of the day, which will help you more accurately determine what you were doing
- show changed files in commits
- support config file
Repository: codestoryAuthor: Alexander IvankovStory since 11:30 18.10.2020
(*) Modification types:
A - add file/commit,
M - modified file/commit,
D - delete file
npm i -g code-story
--since, -s- show commits more recent than a specific date.
--after, -a- show commits more recent than a specific date.
--until, -u- show commits older than a specific date.
--before, -b- show commits older than a specific date.
--trackerUrl, -t- base url in task tracker system.
--author- limit the commits output to ones with author header lines that match the specified pattern.
--branch, -b- show only commits in the specified branch or revision range.
--number, -n- the number of commits to return
--file, -f- file filter for the git log command
--committer- limit the commits output to ones with author header lines that match the specified pattern.
--showCommitFiles- show files changed in commits.
--clearConsole- clear console before out info
--workingDaysOfWeek- sets working days of the week, use 2 first letter of day in the list and separated a comma.Use
!symbol for exclude day.
--startDayTime- sets the start time of the day. The commit history will start and end from this time.
--header- cli header type
--help, -h- show help
Support set often used options in:
codestoryproperty in a package.json
- a JSON or YAML, extensionless
.codestoryrcwith the extensions .json, .yaml, .yml, .js, or .cjs (example:
# .codestoryrcauthor:'Alexander Ivankov'trackerUrl:''workingDaysOfWeek:'!Fr,!Su,!Sa'startDayTime:'11:30'
Get commits story by last week
- wrong detect branch name in branch without commits (#4)