-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,47 @@ | ||
# rarejobctl | ||
|
||
レアジョブの講師予約をCLI上から行うためのツールです。 | ||
|
||
rarejobctl is a tool to automate tutor reservations for the "Rarejob" via CLI. Rarejob is an online English tutorial service for Japanese. | ||
|
||
## 使い方 | ||
|
||
### CLI | ||
|
||
`127.0.0.1:4444`で動いているSeleniumサーバを使用し、2022/12/27 9:30開始のレッスンを予約する場合 | ||
|
||
``` | ||
$ rarejobctl \ | ||
-selenium-host 127.0.0.1 \ | ||
-selenium-port 4444 \ | ||
-selenium-browser-name firefox \ | ||
-year 2022 \ | ||
-month 12 \ | ||
-day 27 \ | ||
-time "9:30" | ||
``` | ||
|
||
### Docker | ||
|
||
2022/12/27 9:30開始のレッスンを予約する場合 | ||
|
||
``` | ||
docker run -it ghcr.io/musaprg/rarejobctl-standalone \ | ||
rarejobctl \ | ||
-year 2022 \ | ||
-month 12 \ | ||
-day 27 \ | ||
-time "9:30" | ||
``` | ||
|
||
2022/12/27 9:30~10:00開始のレッスンを予約する場合 | ||
|
||
``` | ||
docker run -it ghcr.io/musaprg/rarejobctl-standalone \ | ||
rarejobctl \ | ||
-year 2022 \ | ||
-month 12 \ | ||
-day 27 \ | ||
-time "9:30" \ | ||
-margin 30 | ||
``` |