Project

iijmio-cli

0.0
No commit activity in last 3 years
No release in over 3 years
CLI tools for iijmio API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0

Runtime

~> 0.9.2
~> 2.1.1.0
~> 1.9.0
~> 0.19.1
 Project Readme

Iijmio::CLI

CLI tools for iijmio API.

Installation

$ gem install "iijmio-cli"

Usage

設定

$ iijmio config

--------------------------------------------------------------------------------
- iijmio-cli configuration setup
--------------------------------------------------------------------------------
Please input your IIJmio developer ID (default: '5XKr784JyAXAAfAWCbI').
[ENTER]
Please input your IIJmio username (default: '').
xxxx # NOTE: NOT mail address.
Please input your IIJmio password (default: '').
[ENTER]

... Completed !!

認証

$ iijmio auth

Please input your IIJmio password.

... Completed !!

クーポン切り替え(1分間に1回まで)

$ iijmio ls
+ Family Share (ServiceCode: hddxxxxxxxx)
 - クーポン残量: xx.xx [GB]
+ SIMs
 + ID: hdoxxxxxxxx
  - TEL: xxx-xxxx-xxxx
  - クーポン: 無効

$ iijmio switch lte hdoxxxxxxxx # NOTE: クーポンを有効にする

$ iijmio ls
+ Family Share (ServiceCode: hddxxxxxxxx)
 - クーポン残量: xx.xx [GB]
+ SIMs
 + ID: hdo24188760
  - TEL: xxx-xxxx-xxxx
  - クーポン: 有効

$ iijmio switch low hdoxxxxxxxx # NOTE: クーポンを無効にする

$ iijmio ls
+ Family Share (ServiceCode: hddxxxxxxxx)
 - クーポン残量: xx.xx [GB]
+ SIMs
 + ID: hdoxxxxxxxx
  - TEL: xxx-xxxx-xxxx
  - クーポン: 無効

License

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