generate composer file via CLI