feat(gen): add less support

feat(gen): add less support