atmos
atmos copied to clipboard
Feature request: `atmos vendor clean`
Describe the Feature
We are using the vendor
feature a lot and especially while developing it is sometimes necessary to purge a vendored directories.
In our case it boils down to a rm -rf components/terraform
and we could wrap it in a custom command. But it is a dangerous command to script due to the required -f
flag (required for the .git
directory within .terraform/modules
) and thus it would be nice if there was a "safer" command to give to our novice colleagues.
It would also be useful if flags like --component
and the like were supported as well.
Expected Behavior
An official, safe way to remove vendored stuff exists.
Use Case
A safe way to remove vendored directories for novice users.
Describe Ideal Solution
Calling atmos vendor clean
will remove everything added by atmos vendor pull
. If directories were vendored, they should be deleted recursively with everything included, including non-vendored files and directories.
Alternatives Considered
No response
Additional Context
No response