kintone-labs / cli-kintone

GNU General Public License v2.0
49 stars 22 forks source link

add H option #94

Closed morishoji closed 2 years ago

morishoji commented 2 years ago

Add H option for check CSV header for importing. When I used cli-kintone for import some data. Command successly ended, but some columns left blank. I mistaked column names in CSV header. I must fix Header and retry import. I want option for checking CSV header, and implement this.

trung-doan commented 2 years ago

@morishoji Thank you for your pull request! We will consider future versions.

trung-doan commented 2 years ago

@morishoji

We appreciate your request. Please consider using cli-kintone v1. cli-kintone v1 is supporting the "--fields" option to specify and validate fields code and column name. When you run the import with the "--fields" option and field codes, if the column name and field code in the CSV does not match, an error will display before the import is executed. You can then check and correct the inputting CSV.

Thank you very much!