Skip to content

config command line option#295

Open
ozcoder wants to merge 3 commits into
cloudflare:mainfrom
ozcoder:config-option
Open

config command line option#295
ozcoder wants to merge 3 commits into
cloudflare:mainfrom
ozcoder:config-option

Conversation

@ozcoder

@ozcoder ozcoder commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Added the command line option --config CONFIG_FILENAME. Command line options will override any options set in the configuration file.

I've moved some things around, in particular defaults are handled in executeTest. The URL to test can be in the configuration file or -u URL or as an argument to the command line.

Closes #62

ozcoder added 3 commits May 19, 2026 11:21
…place.

Read and parse the supplied configuration file.
Due to the possibility of url being in the config file, I moved the checking.
Do not let undefined values override earlier values.
Added schemas for configuration file processing.
Added associated types.
Moved URL checking around a bit.
Allow config.url to be missing the protocol.
programmatic API does NOT partially auto-prefix.
Emojis are not part of a valid URL.
Just throw the error from normalizeUrlScheme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to provide a config file.

1 participant