dev-time-manager
v1.0.3
Published
a tool to manage dev session time for mob programming or simply to take regular breaks
Downloads
8
Maintainers
Readme
dev-time-manager
dev time manager allows you to manage your work sessions either in teams for mob programming or individually.
The default session time is 15 minutes, you can of course modify it at your convenience, for this add the option --time=<integer
> this number is defined in minutes.
(e.g.: dtm npm run start --time=60 to launch a session of one hour.)
When the session ends you will be asked to commit your work, if you accept you will be asked to add your message all the files will be added and a commit will be created on the current branch and push on your remote (if the branch has not been created yet on the remote it will be automatically added)
this tool has been designed to be called directly in a script of your package to facilitate its use.
Installation
npm install -g dev-time-manager
Usage
dtm <command> [options]
e.g.:
dtm npm run start --time=30
use in package.json
simple node example
{
"scripts": {
"start": "node index.js",
"start:time": "dtm node index.js --time=30"
}
}
nestjs example
{
"scripts": {
"start:dev": "nest start --watch",
"start:time": "dtm yarn start:dev --time=30"
}
}
and so on...
ISC License (ISC)
Copyright 2022 Julien A.U. Bardin
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.