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

Generators are awesome; can the guides tell us more about them? #1094

Open
joelparkerhenderson opened this issue Dec 19, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@joelparkerhenderson
Copy link

joelparkerhenderson commented Dec 19, 2024

I see a big opportunity to help new users get productive with Loco by using generators.

Idea 1: new web help page "Generators".

  • Describe the various generator options, field types, typical examples, etc.

  • Perhaps link it in the website top nav bar, near the links "Models" and "Controllers"?

Idea 2: append more help to cargo loco generate scaffold --help.

  • Describe more generator information, such as generator examples, and especially the possible model field types (e.g. string, int).

  • AFAICT the field type list will be the same as when I provide a fake type such as cargo loco generate scaffold --html x x:'x'

@joelparkerhenderson joelparkerhenderson added the enhancement New feature or request label Dec 19, 2024
@kaplanelad
Copy link
Contributor

That sounds great! Would you like to open a PR for that?

@joelparkerhenderson
Copy link
Author

Yes, I'll take a look this weekend. Thanks!

@joelparkerhenderson joelparkerhenderson changed the title Generataors are awesome; can the guides tell us more about them? Generators are awesome; can the guides tell us more about them? Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants