Skip to content

mxcli new exits 0 on download failure #422

@retran

Description

@retran

Description

mxcli new --version 10.24.15 receives HTTP 404 (no arm64 binary available) but exits with code 0 instead of non-zero.

Steps to Reproduce

./mxcli new --version 10.24.15
echo $?  # prints 0

Also: mxcli new without --version gives "Error: --version is required" but exits 0.

Expected

  • Exit 1 on download failure (HTTP 404).
  • Exit 1 on missing required flags.

Severity

Medium — CI scripts and automation cannot detect failures.

Reproducing test cases

  • cli-commands-test-cases.md § 12.1, 12.2

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