Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s-a/ydel
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/s-a/ydel
- Owner: s-a
- License: mit
- Created: 2016-10-08T08:34:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T13:25:14.000Z (about 8 years ago)
- Last Synced: 2024-10-14T08:53:41.359Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ydel [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> Global shell command to delete files and folder usings globs.## Installation
```sh
$ npm install [--save|-g] ydel
```## Usage
### Bash
```sh
$ ydel ./../shelljs !../shelljs/.git;
$ ls -a ./../shelljs/;# => .. .git
```### Node
```js
"use strict";var YDel = require("ydel");
var ydel = new YDel();
var Cli = new require("n-cli");
var cli = new Cli({
handleUncaughtException : false,
argv : ["./test", "--verbose"]
});
describe("ydel", function () {
it("should del!", function () {
ydel.del(cli);
});
});
```
## LicenseMIT © [s-a](https://github.com/s-a)
[npm-image]: https://badge.fury.io/js/ydel.svg
[npm-url]: https://npmjs.org/package/ydel
[travis-image]: https://travis-ci.org/s-a/ydel.svg?branch=master
[travis-url]: https://travis-ci.org/s-a/ydel
[daviddm-image]: https://david-dm.org/s-a/ydel.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/s-a/ydel
[coveralls-image]: https://coveralls.io/repos/github/s-a/ydel/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/r/s-a/ydel