Skip to content

fix: indent multiline alias descriptions#279

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

fix: indent multiline alias descriptions#279
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/alias-multiline-description

Conversation

@Bortlesboat
Copy link
Copy Markdown

Fixes PlatformNetwork/bounty-challenge#53226. This formats alias descriptions with a shared multiline prefix helper so alias set/list/show indent every description line. Verification: cargo test -p cortex-cli --test alias_multiline_description -- --nocapture; cargo check -p cortex-cli; cargo fmt --check --package cortex-cli; 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