Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.49 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.49 KB

Nippo

Nippo release the pain of registering daily task records (so-called Nippo) at the end of each month.

Prerequisite

  • Ruby 2.0.0 or higher

Installation

Add this line to your application's Gemfile:

gem 'dl-nippo-helper'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dl-nippo-helper

Usage

You can register a Nippo from nippo-register. Here is the usage.

Usage: register [parameters]

Parameters (All parameters are mandatory for registry):
  -d, --day [day]                  the day to register (DEFAULT: today)
  -m, --month [mon]                the month to register (DEFAULT: current month)
  -y, --year [year]                the year to register (DEFAULT: current year)
  -s, --server hostaddr            host address of Nippo servalueice
  -U, --basic_user uid             userid of BASIC authentication
  -P, --basic_password passwd      password to access Nippo servalueice
  -u, --login_user uid             userid of your-self to login
  -p, --login_password passwd      password which is related to your account

To register a Nippo on current day, you can do it with following. Context of Nippo would be specified from STDIN.

$ nippo-register -s 203.209.xxx.yyy \
                 -U nippo-user \
                 -P password \
                 -u ohyama-hiroyasu\
                 -p XXXXXXX < context-file

License

The gem is available as open source under the terms of the MIT License.