vamtiger-remove
Remove a defined path.
Last updated a year ago by vamtiger-project .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vamtiger-remove 
SYNC missed versions from official npm registry.

VAMTIGER Remove

Remove files/folders and place 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\""
    }
}

Current Tags

  • 0.0.5                                ...           latest (a year ago)

4 Versions

  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (12)

Copyright 2014 - 2017 © taobao.org |