-
Notifications
You must be signed in to change notification settings - Fork 119
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
Allow for backticks (backquotes) in the CLI command help/usage messages. #1703
Comments
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
Stopping the development according to: kyma-project/community#872 |
Description
The Kyma-CLI docs in Markdown format are generated automatically from the text messages embedded in the CLI as the command help/usage. The primary use for these messages is to print it out to the user's terminal while interacting with the CLI.
Backticks (backquotes) are used to denote code blocks in Markdown.
Currently, if we include the backtick character in the CLI command help, the command fails with an error:
This is because the command help in the CLI is deffined using golang's
raw string literals
that use backticks to denote the literal itself and no backtick can be embedded inside the string.We also cannot easily switch to standard string literals, because then we have a problem of mulit-line text messages, which are typical for CLI help messages.
AC:
Reasons
*.md
files AND in the text messages embedded in the CLI.The text was updated successfully, but these errors were encountered: