Summary
Add a command to import a local CSV or Excel file directly into Lark Base / Feishu Bitable.
Problem
lark-cli can create a Base, create tables/fields/records, and upload files to Drive, but it does not seem to provide a direct way to import a user's existing spreadsheet into Base.
For a common workflow, users already have data in .csv, .xlsx, or .xls and want to create a Base from that file without manually recreating schema and records.
Expected capability
Support something along these lines:
lark-cli base import --file ./data.csv
lark-cli base import --file ./data.xlsx --sheet Sheet1
lark-cli base import --file ./data.xlsx --base-name "My Base" --table-name "Sheet1"
Expected behavior
- Accept local CSV and Excel files
- Create a new Base, or import into an existing Base/table
- Infer columns and create matching fields automatically
- Import rows as records
- For Excel, allow selecting a sheet
- Provide a dry-run / preview mode before writing
- Return created base/table identifiers and URL
Why this matters
This is a very natural entry point for new users. "I have a spreadsheet, turn it into a Base" is one of the first tasks many users try.
Right now the workaround is to manually parse the file and then call base +table-create / base +record-upsert repeatedly, which is much more cumbersome than a single import command.
Possible scope
Even a first version that only supports CSV import into a newly created Base would already be very useful.
Summary
Add a command to import a local CSV or Excel file directly into Lark Base / Feishu Bitable.
Problem
lark-clican create a Base, create tables/fields/records, and upload files to Drive, but it does not seem to provide a direct way to import a user's existing spreadsheet into Base.For a common workflow, users already have data in
.csv,.xlsx, or.xlsand want to create a Base from that file without manually recreating schema and records.Expected capability
Support something along these lines:
Expected behavior
Why this matters
This is a very natural entry point for new users. "I have a spreadsheet, turn it into a Base" is one of the first tasks many users try.
Right now the workaround is to manually parse the file and then call
base +table-create/base +record-upsertrepeatedly, which is much more cumbersome than a single import command.Possible scope
Even a first version that only supports CSV import into a newly created Base would already be very useful.