Skip to content

fix(cli): use working directory in cd help#342

Open
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-cd-help-working-directory
Open

fix(cli): use working directory in cd help#342
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-cd-help-working-directory

Conversation

@OnlyYu1996
Copy link
Copy Markdown

Fixes PlatformNetwork/bounty-challenge#53091.

Changes:

  • Updates the --cd help text to say working directory instead of working root.
  • Adds a regression test that renders long help and checks the corrected wording.
  • Fixes a stale test import so the cortex-cli test target builds on current main.

Validation:

  • cargo +stable fmt --package cortex-cli --check
  • cargo +stable test --package cortex-cli cli::args::tests::test_cd_help_uses_working_directory -- --nocapture
  • 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][Docs/CLI] --cd help uses “working root” instead of “working directory”

1 participant