From 7a048a3c0440ad900917eb865b72dcfb348da879 Mon Sep 17 00:00:00 2001 From: AndCycle Date: Thu, 16 Aug 2018 17:09:26 +0800 Subject: [PATCH] doc: add info about read args from file. --- docs/cli-options.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/cli-options.rst b/docs/cli-options.rst index 2b6e6fc..6261f55 100644 --- a/docs/cli-options.rst +++ b/docs/cli-options.rst @@ -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 + ``` +