You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As mentioned in your README, the trash CLI is exposed to the user through the commands below:
trash-put trash files and directories.
trash-empty empty the trashcan(s).
trash-list list trashed files.
trash-restore restore a trashed file.
trash-rm remove individual files from the trashcan.
I very much like this project and thought from an ease of use perspective it would be more convenient to unify those five commands into a single command.
Describe the solution you'd like
Ideally I'd like to reorganize the CLI into a single trash command such that
trash-put => trash [put|p] # rest of CLI arguments go here
trash-empty => trash [empty|e] # rest of CLI arguments go here
trash-list => trash ls
trash-restore => trash [rs|restore] # rest of CLI arguments go here
trash-rm => trash rm # rest of CLI arguments go here
Describe alternatives you've considered
I'm currently looking at implementing aliases in my personal .zshrc along the lines of trp, tre, etc that alias each of the exposed trash CLI commands. I also use Oh-My-ZSH, so I may write a plugin for personal use and
Additional context
I am a programmer by occupation and have a decent amount of experience with the python programming language. If you don't mind I'd be happy to fork this repo and PR my proposal as a proof of concept for you and other contributors maintaining this project to review.
The text was updated successfully, but these errors were encountered:
Right now I don't think I'm going to change the interface of trash-cli any soon. You can surely fork the project, and you can also use the Discussions area of trash-cli for finding other people interested in your project.
Is your feature request related to a problem? Please describe.
As mentioned in your README, the trash CLI is exposed to the user through the commands below:
I very much like this project and thought from an ease of use perspective it would be more convenient to unify those five commands into a single command.
Describe the solution you'd like
Ideally I'd like to reorganize the CLI into a single
trash
command such thatDescribe alternatives you've considered
I'm currently looking at implementing aliases in my personal .zshrc along the lines of trp, tre, etc that alias each of the exposed trash CLI commands. I also use Oh-My-ZSH, so I may write a plugin for personal use and
Additional context
I am a programmer by occupation and have a decent amount of experience with the python programming language. If you don't mind I'd be happy to fork this repo and PR my proposal as a proof of concept for you and other contributors maintaining this project to review.
The text was updated successfully, but these errors were encountered: