forked from LBRYCommunity/lbry-sdk
make save_file a parameter instead of a flag so it obeys conf
This commit is contained in:
parent
6cbbe23c7c
commit
f5bd28bfdb
1 changed files with 3 additions and 2 deletions
|
@ -912,14 +912,15 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
Download stream from a LBRY name.
|
Download stream from a LBRY name.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
get <uri> [<file_name> | --file_name=<file_name>] [<timeout> | --timeout=<timeout>] [--save_file]
|
get <uri> [<file_name> | --file_name=<file_name>] [<timeout> | --timeout=<timeout>]
|
||||||
|
[--save_file=<save_file>]
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--uri=<uri> : (str) uri of the content to download
|
--uri=<uri> : (str) uri of the content to download
|
||||||
--file_name=<file_name> : (str) specified name for the downloaded file, overrides the stream file name
|
--file_name=<file_name> : (str) specified name for the downloaded file, overrides the stream file name
|
||||||
--timeout=<timeout> : (int) download timeout in number of seconds
|
--timeout=<timeout> : (int) download timeout in number of seconds
|
||||||
--save_file : (bool) save the file to the downloads directory
|
--save_file=<save_file> : (bool) save the file to the downloads directory
|
||||||
|
|
||||||
Returns: {File}
|
Returns: {File}
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue