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 gitlabtimespendGet 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 asduhfdf234kjhdfConfigure your gitlab domain
$ spend domain <your-gitlab.domain>for example
$ spend domain gitlab.example.comBook 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 2h30msee https://docs.gitlab.com/ee/user/project/time_tracking.html#view-a-time-tracking-report