https://github.com/mark24code/check_996
Help your check repo 996 or not 😄
https://github.com/mark24code/check_996
git ruby tool
Last synced: 4 months ago
JSON representation
Help your check repo 996 or not 😄
- Host: GitHub
- URL: https://github.com/mark24code/check_996
- Owner: Mark24Code
- License: mit
- Created: 2022-08-16T08:09:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-04T12:54:18.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T17:01:45.124Z (7 months ago)
- Topics: git, ruby, tool
- Language: Ruby
- Homepage:
- Size: 21.5 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Check 996
[䏿–‡README](./README_ZH_CN.md)
Help your check repo 996 status. 😎
```
Usage: check_996.rb [options]
-s, --start WORK_START_TIME start job time e.g. 10:00:00
-e, --end WORK_END_TIME end job time e.g. 18:00:00
-g, --git-log GIT_LOG_CMD use git log command, default is `git log --all`
-f, --filter FILTER time range filter e.g. last_[day|week|month|year] last_5_[day|week|month|year] '2022-01-01 08:10:00,2022-10-01 08:10:00'
-v, --version version
```
# Use
## System dependency
make sure you have `ruby 2.7+`, `curl` or `wget` will be helpful.
### step1:
cd your git code repo directory.
```bash
cd
```
### step2:
run this code.
* curl support
```bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Mark24Code/check_996/main/check_996.rb)"
```
## Tips:
remote run add params
```
-- -s 10:30 -e 19:30
```
e.g.
```bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Mark24Code/check_996/main/check_996.rb)" -- -s 10:30 -e 19:30
```