Skip to content

LuCLI intercepts --version flag causing failure in wheels deploy command #2674

Description

@zainforbjs

Describe the bug
Running wheels deploy --version=v1.2.3 fails with a LuCLI argument parsing error:

Invalid value for option '--version': 'v1.2.3' is not a boolean

The error is thrown by LuCLI, not Wheels, because --version is being interpreted as a global CLI flag instead of a command-specific argument.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Wheels application using:
wheels new myapp
  1. Run the deploy command after the deploy init step and configuration:
wheels deploy --version=v1.2.3
  1. Observe the error:
Invalid value for option '--version': 'v1.2.3' is not a boolean

Expected behavior
The deploy command should accept a version string:

wheels deploy --version=v1.2.3

and pass it to the deploy handler without conflict.

Actual behavior

  • LuCLI intercepts --version as a global CLI flag
  • It expects a boolean (--version)
  • Instead receives a string (v1.2.3)
  • Command fails before Wheels deploy logic executes

Screenshots
Image

Desktop (please complete the following information):

  • OS: macOS
  • Version: Wheels 4.0.0 (Development)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions