code: async function() {
        let {applications} = await this.getProjectData();
        if (applications instanceof Array && applications.length) {
          return path.resolve(process.cwd(), applications[0].path);
        }
        throw new qx.tool.cli.Utils.UserError("Cannot find application path - are you in the right directory?");
      }
docs: Returns the path to the current application, depending on the current
  working directory. If a directory contains several applications, the first one found is
  returned.
  @throws {Error} Throws an error if no application can be found.
  @return {Promise(String)} A promise that resolves with the absolute path to the application