mac-trash

Zero-dependency macOS CLI tool to move files to the Trash

Usage no npm install needed!

<script type="module">
  import macTrash from 'https://cdn.skypack.dev/mac-trash';
</script>

README

mac-trash icon

Version Downloads Last commit Build status Coverage Install size

Zero-dependency macOS CLI tool to move files to the Trash


Demo

@todo GIF & icon

Installation

This module needs Node >=10.

Install with npm:

$ npm install mac-trash --global --production

Usage

$ trash somefile.txt /some/other/file.txt

Options

Show debug information:

$ trash --verbose /some/file.txt

Show contextual help:

$ trash --help

Show version:

$ trash --version

Changelog

This project uses semver.

Version Date Notes
1.0.1 2020-11-15 Fix CLI initialization
1.0.0 2020-11-15 Initial version

License

This project is released under the MIT License.