Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upload image via command line without opening editor #217

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

Closed
niksfirefly opened this issue Sep 16, 2019 · 3 comments
Closed

Upload image via command line without opening editor #217

niksfirefly opened this issue Sep 16, 2019 · 3 comments

Comments

@niksfirefly
Copy link

I use ksnip 1.5.0 on Ubuntu and there is useful option to --save screenshot without editing to default location but
1.image filename is not copied to clipboard
2.image is not send to imgur (user mode)
Is there any solutions to these problems?

regards

@DamirPorobic
Copy link
Member

Not that simple with current implementation. The Image upload is async, this means we trigger the upload and when the upload is done we get some notification about it. If we would just trigger it from CLI, it would start the upload and close before we got feedback, which means we need a sync upload function for the uploader. As always, doable but requires some effort so we can't implement it quickly.

@DamirPorobic
Copy link
Member

@niksfirefly ksnip supports now custom actions where you can define exactly that behavior together with hotkeys. Does that resolve your issue?

@DamirPorobic DamirPorobic self-assigned this Mar 22, 2021
@DamirPorobic DamirPorobic changed the title Is there an option --save but for imgur? Upload image via command line without opening editor Sep 19, 2021
@DamirPorobic
Copy link
Member

This is now supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants