Mos tool --port option returns "Unknown command"

  1. My goal is: utilize the --port flag in mos tool to run RPC over MQTT

  2. My actions are:
    Attempted to use port flag to run RPC over MQTT, but always got the Unknown command result.
    Tried simpler useage (local machine) and port option still fails.
    When local port is selected and port option flag is omitted, commands succeed, indicating an issue with the “–port” flag itself.

Tested with 2 different computers, 2 different OS(windows 10, windows 11), 2 different Browsers(chrome, Firefox), and 2 different builds (release and latest[202303131403])

all setup according to Mongoose OS Documentation and cloned the demo-js app.

  1. The result I see is:
    every time I run the mos command with --port option, Unknown command is returned.

$` mos version
The Mongoose OS command line tool
Version: 2.20.0
Build ID: 20211215-002601/2.20.0-g0278853
Update channel: release
Command completed.
$ mos ports
COM14
COM17
COM18
COM5
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
$ mos flash
Port not chosen
Command completed.
$ mos flash
Loaded app1/esp32 version 1.0 (20240611-151204)
…{omitted program loaded logs}
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.

$ cd C:/mos/problem/app1
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
$ mos version
The Mongoose OS command line tool
Version: 202303131403
Build ID: 20230313-145707/2.20.0-20-gb44964e-master
Update channel: latest
Command completed.
$ mos ports
COM14
COM17
COM18
COM5
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.

  1. My expectation & question is: what am I doing wrong?
    Is this a setup issue? a Windows issue? a syntax issue?

Did you not notice that i am the same poster there? that you referenced me here?

Anyways, for anyone who finds this in the future:
Found out that one is not supposed to be using the GUI.
This issue does not happen with the CLI.

Thanks to DrBomb on GitHub for the help/explanations.

I did notice.
I did not reference you, I referenced the issue you opened.
Why ?
I just don’t want the rest of the maintainers (like Dr. Bomb) waste their valuable time answering you, when you already have your answer.
If you broadcast for help, please be nice and collect the debris.
Your second question in that issue has already been answered in this forum, btw.