Skip to content

fix(cli): indent multiline alias descriptions#339

Open
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-alias-multiline-description
Open

fix(cli): indent multiline alias descriptions#339
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-alias-multiline-description

Conversation

@OnlyYu1996
Copy link
Copy Markdown

Summary

  • indent every line of multiline alias descriptions in alias set, alias list, and alias show
  • align continuation lines under the Description: value column
  • unblock cortex-cli test compilation by importing read_file_with_encoding from its current module

Fixes PlatformNetwork/bounty-challenge#53226.

Validation

  • cargo +stable fmt --package cortex-cli --check
  • cargo +stable test --package cortex-cli alias_cmd::tests
  • cargo +stable check --package cortex-cli --lib
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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.

[BUG] [v0.0.7] cortex alias list: multiline -d / description only indents the first line

1 participant