README
VAMTIGER Remove
Remove files/folders and place in trash folder for respective operating system.
Installation
VAMTIGER Remove can be installed using npm or yarn:
npm i vamtiger-remove
or
yarn add vamtiger-remove
VAMTIGER Remove can also be installed globally:
npm i --global vamtiger-remove
or
yarn global vamtiger-remove
Usage
Customiseable options can be listed:
vamtiger-remove --help
Argument | Short | Description |
---|---|---|
--exclude | -e | File/Folder to exclude |
--excludePattern | -p | File/Folder pattern to exclude |
--file | -f | File to remove |
--folder | -d | Folder to remove |
--help | -h | List help options |
VAMTIGER Node Typescript Commit can be referenced as an npm and can be used to remove files.
{
"scripts": {
"commit": "vamtiger-remove --file some/relative/file/path --file another/relative/file/path"
}
}
Folders can also be removed.
{
"scripts": {
"commit": "vamtiger-remove --folder some/relative/folder/path"
}
}
Paths can be excluded explicitly.
{
"scripts": {
"commit": "vamtiger-remove --folder some/relative/folder/path --exclude some-file.txt --exclude another-file.txt"
}
}
Paths can also be excluded by specifying a regular expression pattern.
{
"scripts": {
"commit": "vamtiger-remove --folder some/relative/folder/path --excludePattern \"(some|another)-file.txt\""
}
}