Skip to content

Fix plugin remove verbose output#355

Open
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-plugin-remove-verbose-output
Open

Fix plugin remove verbose output#355
OnlyYu1996 wants to merge 1 commit into
CortexLM:mainfrom
OnlyYu1996:fix-plugin-remove-verbose-output

Conversation

@OnlyYu1996
Copy link
Copy Markdown

Summary

  • pass the global --verbose flag into plugin command dispatch
  • make cortex plugin remove --verbose print removal context before and after deletion
  • fix a stale test import so the cortex-cli lib test harness can compile

Fixes PlatformNetwork/bounty-challenge#53152.

Validation

  • cargo +stable fmt --package cortex-cli --check
  • cargo +stable check -p cortex-cli --lib
  • cargo +stable test -p cortex-cli --lib test_plugin_remove_verbose_lines_include_extra_context -- --nocapture
  • smoke: default plugin remove prints only success; --verbose plugin remove prints plugin path, confirmation mode, post-removal existence, and plugins directory

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 plugin remove --verbose produces identical output to the default run

1 participant