Skip to content

Conversation

@kezhenxu94
Copy link
Member

pkg module can be used in users’ customized projects to leverage the query protocol, but now it is coupled with the cli module "github.com/urfave/cli/v2", which makes it impossible for users to use it if users are using other cli framework such as cobra cli. This PR moves the needs of github.com/urfave/cli in pkg and add a depguard rule to prevent it in the future.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 413 files.

Valid Invalid Ignored Fixed
315 2 96 0
Click to see the invalid file list
  • internal/display/display.go
  • pkg/contextkey/contextkey.go

@kezhenxu94 kezhenxu94 force-pushed the refactor branch 2 times, most recently from c628c1e to 1ffad08 Compare March 24, 2025 04:10
@kezhenxu94 kezhenxu94 added the enhancement New feature or request label Mar 24, 2025
@kezhenxu94 kezhenxu94 added this to the 0.15.0 milestone Mar 24, 2025
@wu-sheng wu-sheng merged commit 405b113 into master Mar 24, 2025
5 checks passed
@wu-sheng wu-sheng deleted the refactor branch March 24, 2025 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants