Feature request: support reordering form questions in Base via CLI
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 17.3k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 105
Description
Problem
The Base form APIs expose commands to create, update, delete, and list questions, but there is no CLI operation to change the display order of existing questions.
The current CLI includes form-questions-create, form-questions-update, form-questions-delete, and form-questions-list, but none can move a question before or after another question or set an explicit order.
Use case
We manage public Feishu Base forms through automation. We need identity fields such as name and employee ID to appear first, followed by feedback content fields. The only available workaround is to open the Feishu UI and drag questions manually. This prevents reproducible CLI-based setup and synchronization across Base copies or environments.
Proposed solution
Please add a command or API for ordering form questions, for example:
lark-cli base +form-questions-reorder --base-token ... --table-id ... --form-id ... --question-ids q1,q2,q3
Alternatively, an order or position parameter on the existing update command would work. The operation should accept the complete ordered list, be idempotent, and return the resulting order.
Expected behavior
Given question IDs [A, B, C], the form displays A first, then B, then C after the command completes. Re-running the same command should produce no further changes.
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing form-questions-create, form-questions-update, form-questions-delete, and form-questions-list CLI commands and the corresponding Base form API support. Determine whether ordering is supported by the API, then define the command or update parameter around a complete ordered question list, idempotent behavior, and returning the resulting order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100