An open API service indexing awesome lists of open source software.

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 😄

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
```