Skip to content

A CLI-tool made with Deno 2. If youre like me, you have gigabytes of data from old projects left in node_modules, __pycache__ etc. Let devclean remove these for you, either based on .gitignore files or by selecting programming languages through the CLI-tool.

Notifications You must be signed in to change notification settings

SindreSau/devclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devclean

Devclean is a simple CLI-tool to clean up your development folders by removing all the unnecessary files and folders, like node_modules, __pycache__, .DS_Store, etc.

All you need to do is specify the path to the project you want cleaned, or a folder for reursive cleaning, and Devclean will take care of the rest.

Installation

  1. Compile to a binary using the following command:
deno task compile
  1. Move the binary to a directory in your PATH, like /usr/local/bin:
mv out/devclean /usr/local/bin

Usage

  1. Run the tool and provide a project or a parent folder for recursive cleaning:
devclean <path>
  1. Run through the prompts to confirm the deletion of the files and folders.

alt text

Testing

The tests require --allow-read to properly test the file system operations. To run the tests, use the following command:

deno test --allow-all

TODO

  • Add a progress bar for mapping out folders and files to be deleted!

About

A CLI-tool made with Deno 2. If youre like me, you have gigabytes of data from old projects left in node_modules, __pycache__ etc. Let devclean remove these for you, either based on .gitignore files or by selecting programming languages through the CLI-tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published