lib/qx/tool/cli/commands/Command.js
async function() {
      let qooxdooJsonPath = path.join(process.cwd(), "qooxdoo.json");
      let data = {};
      if (await fs.existsAsync(qooxdooJsonPath)) {
        data = await this.parseJsonFile(qooxdooJsonPath);
      } else {
        if (await fs.existsAsync(path.join(process.cwd(), "Manifest.json"))) {
          data.libraries = [{path : "."}];
        }
        if (await fs.existsAsync(path.join(process.cwd(), "compile.json"))) {
          data.applications = [{path : "."}];
        } else if (await fs.existsAsync(path.join(process.cwd(), "demo/default/compile.json"))) {
          data.applications = [{path : "demo/default"}];
        }
      }
      return data;
    }
async function() {
      let qooxdooJsonPath = path.join(process.cwd(), "qooxdoo.json");
      let data = {};
      if (await fs.existsAsync(qooxdooJsonPath)) {
        data = await this.parseJsonFile(qooxdooJsonPath);
      } else {
        if (await fs.existsAsync(path.join(process.cwd(), "Manifest.json"))) {
          data.libraries = [{path : "."}];
        }
        if (await fs.existsAsync(path.join(process.cwd(), "compile.json"))) {
          data.applications = [{path : "."}];
        } else if (await fs.existsAsync(path.join(process.cwd(), "demo/default/compile.json"))) {
          data.applications = [{path : "demo/default"}];
        }
      }
      return data;
    }
Returns data on the project in which the CLI commands are executed. If a qooxdoo.json file
exists, the data is taken from there. If not, it tries the following:
1) If a Manifest.json exists in the current dir, it is assumed to be the main library dir.
2) if a compile.json file exists in the current dir, it is assumed to be the application dir
3) if not, the subdir demo/default is checked for a compile.json file.

@return {Promise(Object)} A promise that resolves to a map containing the following keys:
'libraries': an array of maps containing a 'path' property with a relative path to a library folder,
'applications': an array of maps containing a 'path' property with a realtive path to an
application folder. If no project data can be determined, resolves to an empty map.