add short command for generate and preview