socket icon indicating copy to clipboard operation
socket copied to clipboard

Flag ordering causes hang

Open bcomnes opened this issue 2 years ago • 6 comments

Monor sharp edge:

ssc build -r -o test --headless

The app starts heedlessly, but never exits.

ssc build --headless -r -o test

The app runs headless and exists as expected.

No errors printed to the console.

bcomnes avatar Sep 06 '23 17:09 bcomnes

The path is always the last argument. We need a check that there's no arguments without - or -- prefix in the middle of the command

chicoxyzzy avatar Sep 06 '23 17:09 chicoxyzzy

Could be user error too, but as noted, it was running heedlessly when the flag was at the end.

bcomnes avatar Sep 06 '23 17:09 bcomnes

hello team i am new to open source contribution but have been working on js for quite a long. can i start to look into this issue.

nirajgeorgian avatar Sep 12 '23 17:09 nirajgeorgian

Hey @nirajgeorgian. We appreciate any contributions. However, our CLI is written in C++. The issue should be fixed in the options parser

chicoxyzzy avatar Sep 12 '23 17:09 chicoxyzzy

I can still do that. i have programmed a lot in my college days in c++ and i have been doing professionally in golang from past few years.

nirajgeorgian avatar Sep 12 '23 17:09 nirajgeorgian

I can still do that. i have programmed a lot in my college days in c++ and i have been doing professionally in golang from past few years.

Please feel free to open a PR, and we'll review it

chicoxyzzy avatar Sep 12 '23 17:09 chicoxyzzy