You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code of chaosblade/cli is the command-line package, not the library package. Therefore, when a third party uses chaosblade to develop it into their own project, it may need to invade the code in the cli directory to modify it, which is not convenient for smooth migration after the subsequent chaosblade upgrade.
Describe what you expected to happen
Based on the above, Could we adjust the cli directory structure as follows, simplify the main.go content by moving other code into the cmd library package, and facilitate the integration of chaosblade into other projects.
Issue Description
Type: feature request
Describe what happened (or what feature you want)
The code of chaosblade/cli is the command-line package, not the library package. Therefore, when a third party uses chaosblade to develop it into their own project, it may need to invade the code in the cli directory to modify it, which is not convenient for smooth migration after the subsequent chaosblade upgrade.
Describe what you expected to happen
Based on the above, Could we adjust the cli directory structure as follows, simplify the main.go content by moving other code into the cmd library package, and facilitate the integration of chaosblade into other projects.
main.go file:
Please help confirm if this is appropriate, thank you!
The text was updated successfully, but these errors were encountered: