apache / apache/dolphinscheduler
[Feature][python] Auto completion to CLI
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 5.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 29
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
In #8516, we just add add basic use of CLI, it could be better if we add auto completion to it. whcih mean when user use
```bash
pydolphinscheduler
```
in Bash, we will auto show the subcommand for them, just like below
```bash
pydolphinscheduler
version
```
### Use case
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
Start by reviewing the basic CLI work from issue #8516 and the pydolphinscheduler command entry point. Check how Bash completion can expose the available subcommands. The work is done when pressing Tab after pydolphinscheduler shows subcommands such as version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100