-
Notifications
You must be signed in to change notification settings - Fork 146
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
CLI version? #3
Comments
It was CLI-only before I made the GUI a couple months ago, but I didn't keep the functionality unfortunately. It wouldn't be too hard to restore but would take some time. I have it on the to-do list to make a debug mode so maybe I could wrap those two tasks into one, and you're the second person to ask about it so I guess I should. |
Maybe ill take a gander at it once I find some time. Really cool concept :) Kudos 👍 |
It's actually almost done! In the |
Would be rather simple to stay |
additionally - we should allow the
|
|
Here is what I normally do when I want custom parsing like that:
You can define the variable to be a custom type as long as you satisfy the interface functions This will have usage like so:
What do you think? |
Interesting, thanks! I like that idea except that it makes the user type the I just had another idea while reading the docs for the flag package: I can just make it so that if someone uses the flag Edit: Actually, guessing my suggestion won't work as |
yea that would also work quite nicely - cli users are probably able to deal w/ those subtleties anyway 👍 I also almost always alias the command to a short version of the flag as well so |
Actually I was able to check, and using quotes does work! So I may do that, just use |
Okay, it's ready! Please give it a try and let me know what you think. |
@spieglt Is there any CLI bin currently? Personally I'd rather just have a CLI only bin (maybe with a cargo feature flag). |
No, I had a note about this in the readme up until recently. You're the first person to ask about it since the Rust rewrite. It should be possible without too much trouble, but honestly I'm not sure if or when I'll get around to it unless there's more demand. At least not till after Bluetooth, internationalization, and an accessibility fix on Android. |
This would be quite useful for my daily workflows if I was able to get a CLI version of this working.
Imagine something like
And on the other end:
Once the transfer is done, the sender cleans up and reverts just like it already does (the rx does the same as well).
What do you think?
The text was updated successfully, but these errors were encountered: