-
Notifications
You must be signed in to change notification settings - Fork 257
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
steampipe mod init should warn users when the directory is large / unusual #2562
Comments
Hey @e-gineer I would like to work on this . Can you please guide me how to do this? |
Hey @SaumyaBhushan thanks for that. The mod init is performed by this function: Line 215 in f80f9c1
I suggest adding a function
You could move the existing mod checking into this function:
Then after that, add the checking described by the issue. If:
|
'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.' |
'This issue was closed because it has been stalled for 90 days with no activity.' |
Hello, I'd like to work on this issue, thanks for the description/breaking it down |
So I have a basic function here that will trigger when I run this in my home directory, however I'm not sure how I stop make the program stop and confirm for the user |
We've seen a few users accidentally run
steampipe mod init
in their home directory, which then causes steampipe commands in that location or lower to try and load all files (slow performance, easy to error if files are invalid).When running
steampipe mod init
It would be great to warn if:The text was updated successfully, but these errors were encountered: