edit (especially summary and description) should use a line editor
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
The current workflow is to either discard the original content and write what you want, or to copy and paste the text with your mouse so you can edit it. It would be a more friendly workflow to present the default value and allow the user to modify the default value (if set) like gnu readline (python readline seems to be something else). It would eliminate the magic "None" values currently used to differentiate between accept default value opposed to unset it. The edit command seems to straddle the cliff between the interactive mode and not being able to make changes non-interactively via options and arguments.
Contributor guide
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 locating the edit command and reviewing how its interactive prompts handle summary and description defaults, including the current None values. Determine how a line editor and non-interactive options should coexist. Done means users can edit displayed defaults and distinguish accepting a default from unsetting it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100