Skip to content

Adding -c and --config features with config file #11

@Jilesh980

Description

@Jilesh980

The -c or --config flags accept a file path to a TOML-based config file.
If the file is missing, or can't be parsed as TOML, exit with an appropriate error message.
If the -c or --config option is provided, ignore all other options (i.e., a config file overrides other options on the command line).
The program should ignore any options in the config file it doesn't recognize. For example, if the app doesn't support stylesheets, ignore a stylesheet property.
If the config file is missing any options, assume the usual defaults.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions