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] [action] Adding line breaks to action prompts #5039

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

yangjf2019
Copy link
Contributor

Purpose

Linked issue: close #5031

Tests

API and Format

Documentation

Comment on lines 71 to 78
" clone --warehouse <warehouse_path> \n"
+ "[--database <database_name>] \n"
+ "[--table <table_name>] \n"
+ "[--catalog_conf <source-paimon-catalog-conf> [--catalog_conf <source-paimon-catalog-conf> ...]] \n"
+ "--target_warehouse <target_warehouse_path> \n"
+ "[--target_database <target_database_name>] \n"
+ "[--target_table <target_table_name>] \n"
+ "[--target_catalog_conf <target-paimon-catalog-conf> [--target_catalog_conf <target-paimon-catalog-conf> ...]] \n"
Copy link
Contributor

@yuzelin yuzelin Feb 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a problem in this format: actually a flink run command should be in 'one line', otherwise we should use a '\' to break line (see https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/deployment/cli/). I think we should add the '\' if we want to break lines for more readable message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your remind!Got it.

@yangjf2019
Copy link
Contributor Author

@yuzelin please take a look again,thanks!

@yuzelin
Copy link
Contributor

yuzelin commented Feb 11, 2025

+1

@yuzelin yuzelin merged commit 3781094 into apache:master Feb 11, 2025
12 checks passed
@yangjf2019 yangjf2019 deleted the add-line-breaks-for-action-command branch February 11, 2025 06:38
JackeyLee007 pushed a commit to JackeyLee007/paimon that referenced this pull request Feb 14, 2025
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

Successfully merging this pull request may close these issues.

[Feature] help The prompts are less readable
2 participants