@Override
    public Integer doCall() throws Exception {
        int code = execute();
        if (code == 0) {
            // In case of successful execution, we create the working directory if it does not exist to help the tooling
            // know that it is a Camel JBang project
            createWorkingDirectoryIfAbsent();
        }
        return code;
    }
@Test
    void initBasicYaml() throws Exception {
        Init initCommand = new Init(new CamelJBangMain());
        CommandLine.populateCommand(initCommand, "my.camel.yaml");

        int exit = initCommand.doCall();

        assertEquals(0, exit);
        File f = new File("my.camel.yaml");
        assertTrue(f.exists(), "Yaml file not created: " + f);
        f.delete();
    }