buildsafedev / bsf

Developer-centric tool to secure your software supply chain.
https://buildsafe.dev
Apache License 2.0
72 stars 13 forks source link

Added bsf clean Command to Remove Autogenerated Files #121

Closed RohanMishra315 closed 2 weeks ago

RohanMishra315 commented 1 month ago

120

Description:

This PR introduces a new bsf clean command that simplifies the cleanup of autogenerated files and directories during development. This feature is especially useful when testing new features or iterating locally, where manual deletion of these files is often needed.

Key Features:

  1. New bsf clean Command:

The bsf clean command deletes the following autogenerated files and directories: bsf/ bsf-result/ bsf.hcl bsf.lock

  1. Reused Cleanup Logic:

Reuses the cleanup logic from cmd/init, ensuring consistency and reducing code duplication.

RohanMishra315 commented 1 month ago

Thanks for the PR! Can you please sign your commits?

Done , pls check it and anything to add let me know

rakshitgondwal commented 1 month ago

Hi @RohanMishra315, let me know if you need any help

rakshitgondwal commented 1 month ago

Hi @RohanMishra315, checking up on this again

rakshitgondwal commented 2 weeks ago

Fixed in https://github.com/buildsafedev/bsf/pull/128