Optional arguments are not completed.
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 59.8k
- Forks
- 5.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 48
Description
The associated forum post URL from https://forum.rclone.org
What is your current rclone version (output from rclone version)?
rclone v1.57.0
What problem are you are trying to solve?
Bash completion is insufficient. --vfs-cache-mode= is completed, but arguments like off, minimal, writes, and full are not completed.
How do you think rclone should be changed to solve that?
Improve Bash completion so that arguments are also included in the completion.
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
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 rclone's Bash completion entry point and the definition for --vfs-cache-mode. Compare its existing flag completion with the listed values off, minimal, writes, and full. Done means those values are offered when completing the option, with the relevant completion check passing if one exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100