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

v3: --version and --help requires .mockery to be exist #879

Closed
1 of 5 tasks
Dentrax opened this issue Jan 2, 2025 · 1 comment
Closed
1 of 5 tasks

v3: --version and --help requires .mockery to be exist #879

Dentrax opened this issue Jan 2, 2025 · 1 comment
Labels

Comments

@Dentrax
Copy link

Dentrax commented Jan 2, 2025

Description

After v3 upgrade, it seems the following commands no longer works:

  • mockery --version
  • mockery --help
Config File \".mockery\" Not Found

Mockery Version

v3

Go Version

1.23.4

Installation Method

  • Binary Distribution
  • Docker
  • brew
  • go install
  • Other: [specify]

Steps to Reproduce

  1. Compile from v3 tag
  2. Run the commands above
  3. See the error above

Expected Behavior

Is it expected behavior or unintentional break?

Actual Behavior

Commands exits with 1.

@Dentrax Dentrax changed the title v3: --version and --help requires `Config File \".mockery\" Not Found v3: --version and --help requires .mockery to be exist Jan 2, 2025
@LandonTClipp
Copy link
Collaborator

Oops! I'll get that fixed, thanks.

LandonTClipp added a commit that referenced this issue Jan 2, 2025
Closes #879. `version` is instead now a subcommand instead of a flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants