Code review comment: this here works in the test as all strings are separated but in practice on cli I couldn't get it to work. I assume due to terminal/bash + picocli itself trying to figure out what is command line arguments or not.  i.e.  `quarkus dev --hass-token="some value" state list` fails with quarkus cli complaining about --hass-token being unknown.  Not sure we can handle that nicely but there is the workaround that users exliclity do:  `quarkus dev -Dquarkus.args='--hass-token="some value" state list'

Code under review:
public void testDevOptions() throws Exception {
        CliDriver.Result result = CliDriver.execute(workspaceRoot, "create", "app", "--gradle", "-e", "-B", "--verbose");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode, "Expected OK return code." + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--clean", "--tests", "--debug", "--suspend", "--debug-mode=listen", "--offline");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertTrue(result.stdout.contains(" clean"),
                "gradle command should specify 'clean'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-x test"),
                "gradle command should not specify '-x test'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Ddebug"),
                "gradle command should not specify '-Ddebug'\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Dsuspend"),
                "gradle command should specify '-Dsuspend'\n" + result);

        Assertions.assertTrue(result.stdout.contains("--offline"),
                "gradle command should specify --offline\n" + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-clean", "--no-tests", "--no-debug");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertFalse(result.stdout.contains(" clean"),
                "gradle command should not specify 'clean'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-x test"),
                "gradle command should not specify '-x test' (ignored)\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Ddebug=false"),
                "gradle command should specify '-Ddebug=false'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Dsuspend"),
                "gradle command should not specify '-Dsuspend'\n" + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-suspend", "--debug-host=0.0.0.0", "--debug-port=8008", "--debug-mode=connect", "--", "arg1", "arg2");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertTrue(
                result.stdout.contains("-DdebugHost=0.0.0.0 -Ddebug=client -DdebugPort=8008"),
                "gradle command should specify -DdebugHost=0.0.0.0 -Ddebug=client -DdebugPort=8008\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Dsuspend"),
                "gradle command should not specify '-Dsuspend'\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Dquarkus.args=\"arg1\" \"arg2\""),
                "gradle command should not specify -Dquarkus.args=\"arg1\" \"arg2\"\n" + result);

        
        result = CliDriver.execute(project, "test", "-e", "--dry-run",
                "--clean", "--debug", "--suspend", "--debug-mode=listen", "--offline", "--filter=FooTest");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("Run current project in continuous test mode"), result.toString());
        Assertions.assertTrue(result.stdout.contains("-Dquarkus.test.include-pattern=FooTest"), result.toString());

        
        result = CliDriver.execute(project, "test", "-e", "--dry-run",
                "--once", "--offline", "--filter=FooTest");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("Run current project in test mode"), result.toString());
        Assertions.assertTrue(result.stdout.contains("--tests FooTest"), result.toString());

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-suspend", "--debug-host=0.0.0.0", "--debug-port=8008", "--debug-mode=connect", "--", "arg1 arg2");

        Assertions.assertTrue(result.stdout.contains("-Dquarkus.args=\"arg1 arg2\""),
                "mvn command should not specify -Dquarkus.args=\"arg1 arg2\"\n" + result);
    }

Line commented on: result = CliDriver.execute(project, "dev", "-e", "--dry-run",

Revised code:
public void testDevOptions() throws Exception {
        CliDriver.Result result = CliDriver.execute(workspaceRoot, "create", "app", "--gradle", "-e", "-B", "--verbose");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode, "Expected OK return code." + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--clean", "--tests", "--debug", "--suspend", "--debug-mode=listen", "--offline");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertTrue(result.stdout.contains(" clean"),
                "gradle command should specify 'clean'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-x test"),
                "gradle command should not specify '-x test'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Ddebug"),
                "gradle command should not specify '-Ddebug'\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Dsuspend"),
                "gradle command should specify '-Dsuspend'\n" + result);

        Assertions.assertTrue(result.stdout.contains("--offline"),
                "gradle command should specify --offline\n" + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-clean", "--no-tests", "--no-debug");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertFalse(result.stdout.contains(" clean"),
                "gradle command should not specify 'clean'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-x test"),
                "gradle command should not specify '-x test' (ignored)\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Ddebug=false"),
                "gradle command should specify '-Ddebug=false'\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Dsuspend"),
                "gradle command should not specify '-Dsuspend'\n" + result);

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-suspend", "--debug-host=0.0.0.0", "--debug-port=8008", "--debug-mode=connect", "--", "arg1", "arg2");

        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("GRADLE"),
                "gradle command should specify 'GRADLE'\n" + result);

        Assertions.assertTrue(
                result.stdout.contains("-DdebugHost=0.0.0.0 -Ddebug=client -DdebugPort=8008"),
                "gradle command should specify -DdebugHost=0.0.0.0 -Ddebug=client -DdebugPort=8008\n" + result);

        Assertions.assertFalse(result.stdout.contains("-Dsuspend"),
                "gradle command should not specify '-Dsuspend'\n" + result);

        Assertions.assertTrue(result.stdout.contains("-Dquarkus.args=\"arg1\" \"arg2\""),
                "gradle command should not specify -Dquarkus.args=\"arg1\" \"arg2\"\n" + result);

        
        result = CliDriver.execute(project, "test", "-e", "--dry-run",
                "--clean", "--debug", "--suspend", "--debug-mode=listen", "--offline", "--filter=FooTest");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("Run current project in continuous test mode"), result.toString());
        Assertions.assertTrue(result.stdout.contains("-Dquarkus.test.include-pattern=FooTest"), result.toString());

        
        result = CliDriver.execute(project, "test", "-e", "--dry-run",
                "--once", "--offline", "--filter=FooTest");
        Assertions.assertEquals(CommandLine.ExitCode.OK, result.exitCode,
                "Expected OK return code. Result:\n" + result);
        Assertions.assertTrue(result.stdout.contains("Run current project in test mode"), result.toString());
        Assertions.assertTrue(result.stdout.contains("--tests FooTest"), result.toString());

        
        result = CliDriver.execute(project, "dev", "-e", "--dry-run",
                "--no-suspend", "--debug-host=0.0.0.0", "--debug-port=8008", "--debug-mode=connect", "--", "arg1 arg2");

        Assertions.assertTrue(result.stdout.contains("-Dquarkus.args=\"arg1 arg2\""),
                "mvn command should not specify -Dquarkus.args=\"arg1 arg2\"\n" + result);
    }