-
Notifications
You must be signed in to change notification settings - Fork 11
Implement cleanup of temporary plugin directories on next command execution #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pskrbasu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO doing this cleanup in the plugin cmd is better rather than in rootCmd.
Steampipe - https://github.com/turbot/steampipe/blob/develop/cmd/plugin.go#L78-L82
…anup across multiple commands. This ensures that any leftover temporary directories from previous crashes or interrupted installations are removed before executing plugin operations.
pskrbasu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove pipe-fittings replace and re-test pls
…e go.sum with new version
This change depends on pipe-fittings: turbot/pipe-fittings#753