Open coatless opened 7 years ago
I would love to see this too. Is there a way to make this happen? If you could point me in the right direction, I might take a look at it myself.
@banool I believe the sharelink code can be found in:
Looks like the code for this can be found here:
@coatless just to make sure I understand correct, you want an option in dbxcli to obtain the link you can use to share a file or a folder. Is that right?
This is actually pretty easy to do, you can even work from an existing PR: https://github.com/dropbox/dbxcli/pull/41 https://github.com/dropbox/dbxcli/pull/40
LMK if you want to take a stab. Otherwise I'll try to implement sometime in the next week.
Awesome @diwakergupta, thanks for looking into this! Much easier for you than for me to learn the codebase and try it.
I've put together a solution for this in #89.
To anybody interested in that option:
https://github.com/dropbox/dbxcli/issues/113#issuecomment-667919621
Could you please add to
dbxcli
a way to obtain the share link of a given file. e.g.This was previously in the headless dropbox cli given as
dropbox.py
. I would like to switch over from usingdropbox.py
todbxcli
, but my main usage case is a way for the CLI to generate sharing links for files. c.f.dropcli
R package