[python] Add mechanism cli with simple command#8516
Conversation
* Add basic cli mechanism with Click, for now just including one single subcommand `version` * Add general and easy test class in tests/testing/cli, and test to version * Add sphinx-click to general cli docs basic on click
|
PTAL @devosend @jieguangzhou thanks~ |
|
When my PR is just related to some issue instead of a directly closed issue, I prefer to use the keyword |
|
Our CI runs in GitHub Action https://github.com/features/actions, and the configured is in https://github.com/apache/dolphinscheduler/blob/f3d663a7eaf559e855971e83d593a827196a1aa0/.github/workflows/py-ci.yml. All you can see in CI run-time windows in this PR with the prefix |
|
Kudos, SonarCloud Quality Gate passed! |
I add new issue about this PR, so I add |
|
LGTM |
Thanks for reviewing. now we need @jieguangzhou for the double-check |
|
Thanks~ ping @caishunfeng @songjianet I think this PR could be merged now, PTAL |
|
I create an issue about add auto complete to CLI in #8521 |
|
Thanks for merging |








one single subcommand
versiontest to version
ref: #8517
close: #8518