Differences between cli-kintone v1.x.x and v0.x.x
Overview
cli-kintone v1.0.0 or later has enhanced features such as bulk record updating and Client Certificate Authentication support.
For more details on the differences between v1.x.x and v0.x.x, refer to the table below.
How to Install cli-kintone v1.x.x
Refer to the Installation section of the
cli-kintone
GitHub repository for details on how to install cli-kintone v1.x.x.
How to Check cli-kintone version
Run the following command in the terminal to check which cli-kintone version is being used:
|
|
If v1.0.0 is used, the following will be displayed:
|
|
If v0.x.x is used, the following error will be displayed:
|
|
Differences Between cli-kintone v1.x.x and v0.x.x
Export Features
As of October 24, 2022, the differences in export features are as follows:
v0.x.x | v1.x.x | |
---|---|---|
Export format | -o: The export format Values:
|
-o: The export format Values:
|
Password authentication | -u: The Kintone username -p: The Kintone password |
--username: The Kintone username --password: The Kintone password |
API token authentication | -t: The API token of the app | --api-token: The API token of the app |
Basic authentication | -U: The basic authentication login name -P: The basic authentication password |
--basic-auth-username: The basic authentication login name --basic-auth-password: The basic authentication password |
Client Certificate Authentication | --pfx-file-path: The client authentication file path --pfx-file-password: The client authentication file password |
|
Export via proxy | --proxy: The proxy server URL | |
Working with Apps in Guest Spaces | -g: The guest space ID | --guest-space-id: The guest space ID |
Export record data including attachments | -b: The directory to download attachment files to | --attachments-dir: The directory to download attachment files to |
Specify fields to export | -c: The field code of the field to export |
--fields: The field code of the field to export |
Character encoding of the exported data | -e: The encoding format Values:
|
-encoding: The encoding format Values:
|
Import Features
As of February 22, 2023, the differences in import features are as follows:
v0.x.x | v1.x.x | |
---|---|---|
Import path | -f: The file path | --file-path: The file path |
Password authentication | -u: The Kintone username -p: The Kintone password |
--username: The Kintone username --password: The Kintone password |
API token authentication | -t: The API token of the app | --api-token: The API token of the app |
Basic authentication | -U: The basic authentication login name -P: The basic authentication password |
--basic-auth-username: The basic authentication login name --basic-auth-password: The basic authentication password |
Client Certificate Authentication | --pfx-file-path: The client authentication file path --pfx-file-password: The client authentication file password |
|
Import via proxy | --proxy: The proxy server URL | |
Working with Apps in Guest Spaces | -g: The guest space ID | --guest-space-id: The guest space ID |
Create records in bulk | Import a CSV file that does not contain $id column | Import a CSV file without specifying --update-key |
Update records in bulk | Import a CSV file that contains key column to update records in bulk. Specify one of the following as the key column:
|
--update-key: Field code of the key field to update or add records in bulk.
|
Create records in bulk after deleting record data | -D: If this option is specified, cli-kintone will delete all existing records inside the App before importing. | Execute the delete command to delete all records, and then import data using import command. |
Import record data including attachments | -b: The directory to upload files from. | --attachments-dir: The directory to upload files from. |
Specifying Fields to Import | --fields: The field code of the field to import |
|
Import start line | -l: Position index of data in the input file | |
Character encoding of the imported data | -e: The encoding format Values:
|
-encoding: The encoding format Values:
|
Limitations
- The Client Certificate Authentication feature is a legacy feature, and is unavailable for Kintone domains running on the AWS platform.