kyuubi/dev
hongdongdong 16b93e4720
[KYUUBI #753] Use scopt to parse arguments
<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/NetEase/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->
Use [`scopt`](https://github.com/scopt/scopt) replace custom parser to parse arguments.

### _How was this patch tested?_
- [X] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests) locally before make a pull request

Closes #754 from hddong/kyuubi-753.

Closes #753

3d2645d8 [hongdongdong] fix check style
fd181452 [hongdongdong] fix output
ef7c44e4 [hongdongdong] use scopt help
682b3a2f [hongdongdong] [KYUUBI#753] Use scopt to parse arguments

Authored-by: hongdongdong <hongdongdong@cmss.chinamobile.com>
Signed-off-by: Kent Yao <yao@apache.org>
2021-07-12 17:51:11 +08:00
..
kyuubi-codecov Prepare Kyuubi v1.3.0 2021-05-13 13:58:20 +08:00
kyuubi-extension-spark_3.1 [KYUUBI #693] [BUILD] [GA] Support JDK 11 and enable it in GitHub Action 2021-07-05 18:59:53 +08:00
kyuubi-tpcds [KYUUBI #714] [TPCDS] kyuubi-tpcds should respect dsgen charset 2021-06-25 20:56:43 +08:00
dependencyList [KYUUBI #753] Use scopt to parse arguments 2021-07-12 17:51:11 +08:00
merge_kyuubi_pr.py [KYUUBI #531] Refactor repo key words (#531) 2021-04-15 17:13:02 +08:00