1.0.1 • Published 1 year ago

glcl v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

glcl

A simple utility to remove files and directories in a project directory based on a list of globs defined in a file.

Pre-requisites

Usage

Create a glob list file

At the root of your project, create a file named glob-list.clean and add the globs you want to use.

For example:

./node_modules
./packages/*/node_modules
./packages/*/dist*
./packages/*/_output

Then, using bunx run the following command:

bunx glcl

This will remove all files and directories that match the globs in the glob-list.clean file.

Customized glob file lists

You don't have to only use the default glob-list.clean file.

You can also use a custom glob file list by passing the file names as arguments:

bunx glcl -f glob-list.custom -f some-other-glob-list

This allows you to have multiple glob lists for different purposes.

1.0.1

1 year ago

1.0.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago