JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q28044F
  • License DWYW

cli-tool to book times on gitlab-issues

Package Exports

  • gitlabtimespend

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitlabtimespend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GitlabTimeSpend

A simple command line tool to book time to gitlab issues.

Project status:

  • Works on my machine [GitBash (Windows)]
  • Works on another machine [Powershell (Windows)]

Usage

Install the package

npm i -g gitlabtimespend

Get a gitlab token with api access.

You can find it at a url like this 'https://gitlab.com/-/profile/personal_access_tokens'.

Configure your token

$ spend token <your-token-here>

for example

$ spend token asduhfdf234kjhdf

Configure your gitlab domain

$ spend domain <your-gitlab.domain>

for example

$ spend domain gitlab.example.com

Book your time

Switch to a directory where you have checked out an feature-branch. The branch name should look like this "20-this-is-my-feature".

And book your time with

$ spend <gitlab-time-unit-string>

for example

$ spend 2h30m

see https://docs.gitlab.com/ee/user/project/time_tracking.html#view-a-time-tracking-report