@Override
    public Integer doCall() throws Exception {
        CommandLineHelper
                .loadProperties(p -> {
                    for (String k : p.stringPropertyNames()) {
                        String v = p.getProperty(k);
                        printer().printf("%s = %s%n", k, v);
                    }
                });
        return 0;
    }
@Test
    public void shouldListUserConfig() throws Exception {
        UserConfigHelper.createUserConfig("""
                camel-version=latest
                kamelets-version=greatest
                foo=bar
                """);

        ConfigList command = new ConfigList(new CamelJBangMain().withPrinter(printer));
        command.doCall();

        List<String> lines = printer.getLines();
        Assertions.assertEquals(3, lines.size());
        Assertions.assertEquals("camel-version = latest", lines.get(0));
        Assertions.assertEquals("kamelets-version = greatest", lines.get(1));
        Assertions.assertEquals("foo = bar", lines.get(2));
    }