Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryokdy committed Dec 19, 2014
1 parent 052f183 commit 24e0330
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kintone-ci
cli-kintone
==========

kintone-ci is a command line utility for kintone.
cli-kintone is a command line utility for kintone.

## Version

Expand All @@ -17,7 +17,7 @@ kintone-ci is a command line utility for kintone.
Getting the source code

$ cd ${GOPATH}/src
$ git clone https://github.com/kintone/kintone-ci.git
$ git clone https://github.com/kintone/cli-kintone.git

Install dependencies

Expand All @@ -27,7 +27,7 @@ Install dependencies

build

$ cd ${GOPATH}/src/kintone-ci
$ cd ${GOPATH}/src/cli-kintone
$ go build

## Downloads
Expand All @@ -38,7 +38,7 @@ These binaries are available for download.
- Linux
- Mac OS X

https://github.com/kintone/kintone-ci/releases
https://github.com/kintone/cli-kintone/releases

## Usage

Expand All @@ -58,15 +58,15 @@ https://github.com/kintone/kintone-ci/releases

Export all columns from an app.

$ kintone-ci -a <APP_ID> -d <DOMAIN_NAME> -t <API_TOKEN>
$ cli-kintone -a <APP_ID> -d <DOMAIN_NAME> -t <API_TOKEN>

Export the specified columns to csv file as Shif-JIS encoding.

$ kintone-ci -a <APP_ID> -d <DOMAIN_NAME> -e sjis -c "$id, name1, name2" -t <API_TOKEN> > <OUTPUT_FILE>
$ cli-kintone -a <APP_ID> -d <DOMAIN_NAME> -e sjis -c "$id, name1, name2" -t <API_TOKEN> > <OUTPUT_FILE>

If the file has $id column, the original data will be updated. If not, new row will be inserted.

$ kintone-ci -a <APP_ID> -d <DOMAIN_NAME> -e sjis -t <API_TOKEN> -f <INPUT_FILE>
$ cli-kintone -a <APP_ID> -d <DOMAIN_NAME> -e sjis -t <API_TOKEN> -f <INPUT_FILE>

## Licence

Expand Down

0 comments on commit 24e0330

Please sign in to comment.