split handlebars cmd flags up and include rootDir to input