ekakushin_cli
is CLI tool for automatically submitting daily attendance using selenium.
# install chrome driver for selenium
$ brew install chromedriver
# set project
$ git clone https://github.com/saekis/ekakushin_cli.git
$ cd attendance
$ bundle install
# set env file
$ cat << EOF> .env
CUSTOMER_CODE="xxxxxxx"
USER_CODE="xxxxxxx"
PASSWORD="xxxxxxx"
EOF
- Ruby 2.4.0+
- ChromeDriver 2.0+
$ cd <your project path>
$ bundle exec bin/ekakushin_cli --in
$ cd <your project path>
$ bundle exec bin/ekakushin_cli --out