jclockedio

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 1 Imported by: 0

README

This utility is for clocking in and out on Jobcan, and it sends the results to Chatwork.

"jclockedio" means Jobcan clocked in/out.

Installation

macOS

brew tap masa0221/tap
brew install jclockedio

Note: jclockedio requires Chrome and Chromedriver.

brew install --cask chromedriver

Alternatively, you can use Docker.

Usage

1. Configuration

jclockedio configure

You can modify the output format. For more details, run jclockedio configure --help.

2. Clocking in / out

jclockedio adit

To only verify login without clocking in/out, use the --no-adit option.

Docker Usage

If you don't have Chrome and Chromedriver installed, you can use Docker. To pull the Docker image, check this link.

docker build -t jclockedio .
docker run --rm -it jclockedio

Default timezone is Asia/Tokyo;to change it, use -e TZ=UTC.

Example

docker run --rm -it -v "$HOME"/.jclockedio:/root/.jclockedio jclockedio configure

Disclaimer

USE AT YOUR OWN RISK. Make sure to verify the execution process and the results before relying on it. Good luck with your remote work!🌸

Documentation

Overview

Copyright © 2022 Masashi Tsuru

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL