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

latest docker image failing #83

Closed
aaronenberg opened this issue Jun 30, 2023 · 3 comments
Closed

latest docker image failing #83

aaronenberg opened this issue Jun 30, 2023 · 3 comments

Comments

@aaronenberg
Copy link

Hey, thanks for this awesome tool.

I am seeing this error when running with the latest docker image:

$ httpmock --expose true
error: unexpected argument 'true' found

Usage: httpmock [OPTIONS]

For more information, try '--help'.

This does not happen with image tagged alexliesenfeld/httpmock:0.6.2

@aaronenberg
Copy link
Author

my guess is this broke when upgrading to clap=4.0

@aaronenberg
Copy link
Author

I would suggest updating the Dockerfile to ENTRYPOINT ["httpmock", "--expose"] removing the "true" part because it seems like there is some extra clap setup needed to parse values for bool arguments

@alexliesenfeld
Copy link
Owner

alexliesenfeld commented Jul 5, 2023

Thanks for reaching out. Yes, the Docker image needed an update. It was updated today with #86 and v0.6.8.

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

No branches or pull requests

2 participants