Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manchicken/coffee-trash
A quick little trash script I wrote as a CoffeeScript experiment (and I use it, too)
https://github.com/manchicken/coffee-trash
Last synced: 18 days ago
JSON representation
A quick little trash script I wrote as a CoffeeScript experiment (and I use it, too)
- Host: GitHub
- URL: https://github.com/manchicken/coffee-trash
- Owner: manchicken
- Created: 2012-11-22T09:38:23.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T21:02:29.000Z (almost 2 years ago)
- Last Synced: 2023-03-24T10:57:45.253Z (almost 2 years ago)
- Language: CoffeeScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Version
=======
Version 0.2Requirements
============
* better-require
* posix-getoptInstall
=======
I just create a ~/lib/site_node directory, symlink the code files in node_modules there,
then I symlink the trash-cli.coffee to ~/bin/trashThere's really nothing much more fancy, but I wanted a way of playing with CoffeeScript, and this sort of script is useful.
Note
====
This is experimental code... you really should be careful when using it.Usage
=====
$ trash somefile.txt somedirectory$ trash empty