Skip to content

Maestro CLI outputs a weird message at the top of each command #3258

@pulse-app-live

Description

@pulse-app-live

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

Simply run "maestro". It will output this message at the top :

For input string: "23-valhalla"
/opt/homebrew/bin/maestro: line 251: [: : integer expression expected

Actual results

For input string: "23-valhalla"
/opt/homebrew/bin/maestro: line 251: [: : integer expression expected
...

Expected results

Nothing should appear at the top

About app

Not relevant

About environment

openjdk version "23-valhalla" 2024-09-17
MacOS Tahoe 26.3.1 (a)
Processor arm64

Logs

Logs
For input string: "23-valhalla"
/opt/homebrew/bin/maestro: line 251: [: : integer expression expected
Anonymous analytics enabled. To opt out, set MAESTRO_CLI_NO_ANALYTICS environment variable to any value before running Maestro.

Missing required subcommand
Usage: maestro [-hv] [--[no-]ansi] [--verbose] [-p=<platform>] [--udid=<deviceId>] [COMMAND]
  -h, --help      Display help message
      --[no-]ansi, --[no-]color
                  Enable / disable colors and ansi output
  -p, --platform=<platform>
                  (Optional) Select a platform to run on
      --udid, --device=<deviceId>
                  (Optional) Device ID to run on explicitly, can be a comma separated list of IDs: --device "Emulator_1,Emulator_2"
  -v, --version   Display CLI version
      --verbose   Enable verbose logging
Commands:
  test                Test a Flow or set of Flows on a local iOS Simulator or Android Emulator
  cloud               Upload your flows on Cloud by using `maestro cloud sample/app.apk flows_folder/` (https://app.maestro.dev)
  record              Render a beautiful video of your Flow - Great for demos and bug reports
  hierarchy           Print out the view hierarchy of the connected device
  download-samples    Download sample apps and flows for trying out maestro without setting up your own app
  login               Log into Maestro Cloud
  logout              Log out of Maestro Cloud
  bugreport           Report a bug - Help us improve your experience!
  start-device        Starts or creates an iOS Simulator or Android Emulator similar to the ones in Maestro Cloud
  list-devices        List local devices available, grouped by platform
  list-cloud-devices  List devices available on Maestro Cloud, grouped by platform
  chat                Use Maestro GPT to help you with Maestro documentation and code questions
  check-syntax        Check syntax of Maestro code
  mcp                 Starts the Maestro MCP server, exposing Maestro device and automation commands as Model Context Protocol (MCP) tools over STDIO for LLM
                        agents and automation clients.
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                         │
│   Try out our new Analyze with Ai feature.                                                                                              │
│                                                                                                                                         │
│   See what's new:                                                                                                                       │
│   > https://maestro.mobile.dev/cli/test-suites-and-reports#analyze                                                                      │
│   Analyze command:                                                                                                                      │
│   $ maestro test flow-file.yaml --analyze | bash                                                                                        │
│                                                                                                                                         │
│   To disable this notification, set MAESTRO_CLI_ANALYSIS_NOTIFICATION_DISABLED environment variable to "true" before running Maestro.   │
│                                                                                                                                         │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Maestro version

2.5.1

How did you install Maestro?

Homebrew

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions