Allow reading arguments from file
Squashed commit of the following (pr #161): commit 58235a99b04a975d825f4f8f8431a6dcb7acccdc Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:57:26 2018 +0800 doc: proper fix rst syntax commit 6620e3583c0b59e9447bcc44e5f573c61d02e6de Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:29:25 2018 +0800 doc: fix syntax commit 7a048a3c0440ad900917eb865b72dcfb348da879 Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:09:26 2018 +0800 doc: add info about read args from file. commit c4ceaf96365422f25357c54af03aadfa7222ce44 Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:05:07 2018 +0800 alter `fromfile_prefix_chars` to plus sign to avoid conflict. commit d469b52b95de6bf86761b9315a78ecda2b033ac2 Author: AndCycle <andcycle@andcycle.idv.tw> Date: Mon Aug 6 19:10:23 2018 +0800 * Allow reading arguments from file function referenced from instagram-scraper, which provide a convenient way to hide sensitive information.
This commit is contained in:
@@ -192,3 +192,20 @@ Miscellaneous Options
|
||||
Disable user interaction, i.e. do not print messages (except errors) and fail
|
||||
if login credentials are needed but not given.
|
||||
This is handy for running :ref:`instaloader-as-cronjob`.
|
||||
|
||||
.. option:: +args.txt
|
||||
|
||||
Read arguments from file `args.txt`, a shortcut to provide argument from
|
||||
file rather than command-line. This provide a convient way to hide login
|
||||
info from CLI. and also can use for simplify managment of long arguments.
|
||||
|
||||
.. note::
|
||||
|
||||
text file should separate arg with line break.
|
||||
|
||||
args.txt example::
|
||||
|
||||
--login MYUSENAME
|
||||
--password MYPASSWORD
|
||||
--fast-update
|
||||
|
||||
|
Reference in New Issue
Block a user