Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 821 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 821 Bytes

⚡ Timesheet

Automatically generate your timesheet using Github API :octocat:

⚙️ Setup

  1. Clone project

    git clone https://github.com/vivekmiyani/timesheet.git ~/timesheet
    cd ~/timesheet
  2. Install dependency

    gem install octokit
  3. Create projects.yml

    cp projects.yml.example projects.yml
  4. Configure project groups in projects.yml

    • Create and update github token (with access to user and repo scopes)

✨ Usage

Generate your today's timesheet for any project group:

~/timesheet/work.rb $(date '+%Y-%m-%d') <friendly_name>

Or even for any date:

~/timesheet/work.rb 2023-01-01 <friendly_name>

🎯 Todo

  • Handle response pagination
  • Handle branch without pull request