mirror of
https://github.com/instaloader/instaloader.git
synced 2026-10-19 23:22:16 -07:00
Allow reading arguments from file
Squashed commit of the following (pr #161): commit58235a99b0Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:57:26 2018 +0800 doc: proper fix rst syntax commit6620e3583cAuthor: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:29:25 2018 +0800 doc: fix syntax commit7a048a3c04Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:09:26 2018 +0800 doc: add info about read args from file. commitc4ceaf9636Author: AndCycle <andcycle@andcycle.idv.tw> Date: Thu Aug 16 17:05:07 2018 +0800 alter `fromfile_prefix_chars` to plus sign to avoid conflict. commitd469b52b95Author: 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