p-ranav / structopt

Parse command line arguments by defining a struct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

config file vs args

juliangaal opened this issue · comments

The examples don't make clear, if all arguments can be passed from within a config file imho. Can this be done?

structopt is a command-line argument parser. The library does not open or parse configuration files for you. You can certainly pass the config file name as an argument but you will need to open/parse the config files, e.g., JSON, XML etc., yourself.

ok, thanks!