/** * parse the args and return the project argument * @returns {*} */ project() { if (!this.args[0] && !this.data.project) return null; if (this.data.project) return this.data.project; let projects = _.uniq(_.filter(this.args, arg => isNaN(new Number(arg)))); this.args = _.difference(this.args, projects); if(projects.length == 0) return null; return this.data.project = projects; }