ConfigFile

Special option that allows pointing to another config file (ignoring the default). Can only be provided through the command line arguments. A config struct may only have one ConfigFile annotation. Otherwise an error is thrown.

Examples

struct MyConfig
{
    @ConfigFile @Short("c") @Desc("Specific config file to use instead of the default.")
    string config = "myconf.conf";
}

Meta