Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow override loco template #1102

Merged
merged 7 commits into from
Jan 2, 2025
Merged

Conversation

kaplanelad
Copy link
Contributor

@kaplanelad kaplanelad commented Dec 26, 2024

Enhance Control Over Loco Template Generation
This update introduces a new command under cargo loco generate, enabling better control and modification of Loco-generated templates.

Command:

  • Without a template path: Displays all available templates on the screen.
  • With a template path and --info flag: Lists all templates under the specified path.
  • With a template path only: Injects the templates from the specified path into the local .loco-templates folder.

Tests

  • Improve template generation logic to cover all templates comprehensively.
  • Add tests for all generated commands in the loco-new templates suite.

#822

@kaplanelad kaplanelad merged commit ab3bf0b into master Jan 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant