-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: standards compliant command line parameter syntax #16
Comments
Clipboard intentionally breaks the rules here, so changing this syntax to only be the other option would make Clipboard worse. However, I'm open to adding a different supported syntax, but what would you do if you needed to copy a file with name "-c"? |
The standard solution is to have a parameter named https://unix.stackexchange.com/questions/11376/what-does-double-dash-mean |
Done, added in latest commit f9e83ed and we don't have to check for |
Does that mean that you have to specify |
That's one way you could do it, or just |
Is your feature request related to a problem? Please describe.
The
copy1
/paste4
etc syntax makes clipboard incompatible with tools that automatically handle command line parameters for other tools, such as https://github.com/nevesnunes/sh-manpage-completionsDescribe the solution you'd like
Add an optional syntax to specify the clipboard number as a named parameter.
clipboard cut1 somefile
could instead beclipboard cut -n 1 somefile
orclipboard cut --clipboard-number=1 somefile
PS: It would be even better if this was the only syntax, and the user could implement shortcut aliases themself if they want them, but I suspect from the motivations described in the README that such a suggestion would get much less traction, so I've written this as a request for an option.
The text was updated successfully, but these errors were encountered: