codestory

code story cli

NPM version Conventional Commits

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.

Features:

Output example:

Repository: codestory
Author: Alexander Ivankov
Story since 11:30 18.10.2020 until 11:30 23.10.2020

feature/CODESTORY-1-documentation  ───────────────────────────────────────── branch name
PR: https://github.com/MoonW1nd/codestory/pull/feature/CODESTORY-1-doc  ──── link on PR
TASK: https://tracker.yandex.ru/CODESTORY-1  ─────────────────────────────── task tracker link
COMMITS:
    A 2020-09-21 1234826 feat(readme.md): start documentation ─────── commit info
    │    A README.md  ─────────────────────────────────────────────── changed file
    │    └─────────────────────────────────────────────────────────── file modification type (*)
    └──────────────────────────────────────────────────────────────── commit modification type (*)

(*) Modification types: A - add file/commit, M - modified file/commit, D - delete file

Installation

npm i -g code-story

Options

Config file

Support set often used options in:

Example:

# .codestoryrc

author:
    'Alexander Ivankov'
trackerUrl:
    'https://tracker.yandex.ru'
workingDaysOfWeek:
    '!Fr,!Su,!Sa'
startDayTime:
    '11:30'

Usage

Get commits story by last week

code-story --since=1.week.ago

Known issues