Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature][seatunnel-core] format the command usage help output #1787

Closed
3 tasks done
legendtkl opened this issue May 4, 2022 · 0 comments
Closed
3 tasks done

[Feature][seatunnel-core] format the command usage help output #1787

legendtkl opened this issue May 4, 2022 · 0 comments

Comments

@legendtkl
Copy link
Contributor

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

Now the usage help output looks poor readability as follows

./start-seatunnel-flink.sh -h
Usage: start-seatunnel-flink.sh [options] Options: -t, --check check config Default: false start-seatunnel-flink.sh start-seatunnel-spark.sh start-seatunnel-sql.sh -c, --config Config file -h, --help Show the usage message -r, --run-mode job run mode, run or run-application Default: RUN Possible Values: [RUN, APPLICATION_RUN] -i, --variable variable substitution, such as -i city=beijing, or -i date=20190318 Default: []

We can use JCommander.setUsageFormatter to produce a better looking.

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant