Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 04-Feb-2020 | - | 28 | 27 | |
docs/ | H | 03-May-2022 | - | |||
vendor/ | H | 03-May-2022 | - | 391,767 | 323,880 | |
.goreleaser.yml | H A D | 04-Feb-2020 | 854 | 41 | 39 | |
README.md | H A D | 04-Feb-2020 | 1.5 KiB | 36 | 23 | |
go.mod | H A D | 04-Feb-2020 | 527 | 17 | 14 | |
go.sum | H A D | 04-Feb-2020 | 8 KiB | 87 | 86 | |
main.go | H A D | 04-Feb-2020 | 12.6 KiB | 552 | 462 |
README.md
1<p align="center"> 2 <img src="./docs/screenshot.png" width="500" alt="gomi"> 3</p> 4[![](http://img.shields.io/github/release/b4b4r07/gomi.svg?style=flat)][release] [![](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)][license] [![](https://github.com/b4b4r07/gomi/workflows/release/badge.svg)](https://github.com/b4b4r07/gomi/releases) 5 6`gomi` is a simple trash tool that works on CLI, written in Go 7 8The concept of the trashcan does not exist in Command-line interface ([CLI](http://en.wikipedia.org/wiki/Command-line_interface)). If you have deleted an important file by mistake with the `rm` command, it would be difficult to restore. Then, it's this `gomi`. Unlike `rm` command, it is possible to easily restore deleted files because `gomi` have the trashcan for the CLI. 9 10## Features 11 12- Like a `rm` command but not unlink (delete) in fact (just move to another place) 13- Easy to restore, super intuitive 14- Compatible with `rm` command, e.g. `-r`, `-f` options 15- Nice UI, awesome CLI UX 16- Easy to see what gomi does with setting `GOMI_LOG=[trace|debug|info|warn|error]` 17 18## Installation 19 20Download the binary from [GitHub Releases][release] and drop it in your `$PATH`. 21 22- [Darwin / Mac][release] 23- [Linux][release] 24 25## Versus 26 27- [andreafrancia/trash-cli](https://github.com/andreafrancia/trash-cli) 28- [sindresorhus/trash](https://github.com/sindresorhus/trash) 29 30## License 31 32[MIT][license] 33 34[release]: https://github.com/b4b4r07/gomi/releases/latest 35[license]: https://b4b4r07.mit-license.org 36