Skip to content

Commit

Permalink
Merge pull request #29 from goqoo-on-kintone/2.2.1
Browse files Browse the repository at this point in the history
2.2.1
  • Loading branch information
aki77 authored May 7, 2020
2 parents 51fd7aa + 5e6aa75 commit f0c5a55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Gitライクな一連のコマンドを提供します。
* `location`オプションを指定すると、kintone設定情報ファイルの保存フォルダを指定できます。(省略時はカレントディレクトリ)
* `fileType`オプションに`js`を指定すると、kintone設定情報ファイルを`.json`ではなく`.js`フォーマットで扱います。
* コマンドライン引数のほか、後述する`.ginuerc``.netrc`でもオプション指定が可能です
* `username``password`については環境変数でも設定可能です。(`GINUE_USERNAME`, `GINUE_PASSWORD`
* `username`, `password`, `basic`については環境変数でも設定可能です。(`GINUE_USERNAME`, `GINUE_PASSWORD`, `GINUE_BASIC`
* 優先順位は `環境変数 < .netrc < .ginuerc < 引数`

#### .ginuerc
Expand Down
1 change: 1 addition & 0 deletions lib/ginue.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ const stdInputOptions = async opts => {

opts.username = opts.username || netrcProps.login || process.env.GINUE_USERNAME || (await inputKintoneInfo('username'))
opts.password = opts.password || netrcProps.password || process.env.GINUE_PASSWORD || (await inputKintoneInfo('password', TYPE_PASSWORD))
opts.basic = opts.basic || process.env.GINUE_BASIC

opts.app = opts.app || (await inputKintoneInfo('app'))
console.log()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ginue",
"version": "2.2.0",
"version": "2.2.1",
"description": "ginue is the CLI tool to get settings of kintone via kintone REST API.",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit f0c5a55

Please sign in to comment.