1.1.4 • Published 7 years ago
excelpb-s v1.1.4
Convert excel files to protobuf serializable files
usage
npm install excelpb-s
excelpb -s -i <input file dir> -o <output file dir>
More useage, please use
excelpb-s -h
command.
excel sheet example
The sheet name must be sheetNickName_protobufMessageName this format.
The sheet first row is message field name, 2nd row is message field type and 3rd row is custom header.
eg:
id | name | #comment col |
---|---|---|
required uint32 | string | |
编号 | 名称 | 该列带有#将被注释 |
1 | example | This col will be commented |
Tips: If your cell value is number the field type can't be a string