bxiehq / oreilly-trial

Trial account generator tool for O’Reilly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oreilly Trial

CI Docker pulls Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Release Go version License

As you know, you can create 10 day free trial for https://learning.oreilly.com/ for testing purposes.

This tool does couple of simple steps to provide free trial account for you:

Configuration

oreilly-trial can be customized with several command line arguments:

Usage:
  oreilly-trial [flags]

Flags:
  -h, --help              help for oreilly-trial
      --logLevel string   log level logging library (debug, info, warn, error) (default "info")
  -v, --version           version for oreilly-trial

By default, oreilly-trial attempts to create trial account --attemptCount times. Default value of that flag is 10, if you can not create trial account in --attemptCount attempts, please increase that value in the range of 1-20.

Installation

Binary

Binary can be downloaded from Releases page.

After then, you can simply run binary by providing required command line arguments:

$ ./oreilly-trial

Homebrew

This project can be installed with Homebrew:

$ brew tap bilalcaliskan/tap
$ brew install bilalcaliskan/tap/oreilly-trial

Then similar to binary method, you can run it by calling below command:

$ oreilly-trial

Docker

You can simply run docker image with default configuration:

$ docker run bilalcaliskan/oreilly-trial:latest

Development

This project requires below tools while developing:

After you installed pre-commit, simply run below command to prepare your development environment:

$ pre-commit install -c build/ci/.pre-commit-config.yaml

License

Apache License 2.0

About

Trial account generator tool for O’Reilly

License:Apache License 2.0


Languages

Language:Go 86.6%Language:Makefile 11.4%Language:Dockerfile 1.6%Language:Shell 0.4%