Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider CLI config parameters in HTTP request checks #827

Merged
merged 2 commits into from
Jan 10, 2021

Conversation

tyranron
Copy link
Contributor

@tyranron tyranron commented Jan 8, 2021

Fixes #756

Propagates CLI config params as fallback for POST HTTP request params, instead of falling back to default hardcoded values.

Also, this PR makes a brave attempt to reorganize CLI declaration and parsing using derive macros approach instead YAML, and makes the config globally accessible, which is handy/suitable enough for such a tiny CLI application, while removes a redundant friction with lifetimes/cloning in Hyper server.

- switch to derive-based parsing of CLI parameters
- bump up 'clap' to '3.0.0-beta.2' version
- make CLI config accessible globally
@tyranron tyranron mentioned this pull request Jan 8, 2021
Copy link
Member

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot!

@amaury1093 amaury1093 merged commit 88b751a into reacherhq:master Jan 10, 2021
@tyranron tyranron deleted the consider-cli-in-http branch January 10, 2021 16:59
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.

Hotmail email check not working
2 participants