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

[hoodie-boilerplate] different templates for new app's #22

Open
zoepage opened this issue Mar 4, 2014 · 13 comments
Open

[hoodie-boilerplate] different templates for new app's #22

zoepage opened this issue Mar 4, 2014 · 13 comments

Comments

@zoepage
Copy link

zoepage commented Mar 4, 2014

The idea is to have several templates you can choose from when you create a new hoodie app in the cli.

hoodie new appName

which template would you like to get:
(1) my-first-hoodie
(2) boilerplate
(3) boilerplate with bootstrap
(4) boilerplate + OO-CSS + res. CSS

choose: 2

Later (maybe for 1.0.0., we could make custom builds).
// @svnlto and I already talked about that.

Your thoughts?

@svnlto
Copy link
Member

svnlto commented Mar 4, 2014

/cc @gr2m @caolan @janl

@gr2m
Copy link
Member

gr2m commented Mar 4, 2014

I think this goes beyond our scope. I'd make the default app really really good and keep the way to use custom templates as we have today. But beyond that, I'd rather create yeoman generators, that appears to be the right tool for that in my opinion

@svnlto
Copy link
Member

svnlto commented Mar 4, 2014

@gr2m assuming everybody's got the yo command installed. Which I don't for example.

@janl
Copy link
Member

janl commented Mar 4, 2014

I like to have different examples, but I think hoodie new should be a single, minimal and tight first run experience.

But we can make the different templates more obvious. Maybe we can publish them on npm as well and then have a hoodie-app-template registry.

@zoepage
Copy link
Author

zoepage commented Mar 4, 2014

@jan Would it make sense using hoodie new app -t "usr/repo" for that?

@svnlto
Copy link
Member

svnlto commented Mar 4, 2014

Would it make sense using hoodie new app -t "usr/repo" for that?

It's how it'd work currently.

@janl
Copy link
Member

janl commented Mar 4, 2014

yeah, we could make hoodie new app -t without an argument list the available ones or something

@zoepage
Copy link
Author

zoepage commented Mar 4, 2014

that's what i was thinking about! :)

@gr2m
Copy link
Member

gr2m commented Mar 4, 2014

+1 on hoodie new app -t listing selected templates

@zoepage
Copy link
Author

zoepage commented Mar 4, 2014

we should also make sure it's documented somewhere.
http://hood.ie/#installation maybe?

@svnlto
Copy link
Member

svnlto commented Mar 4, 2014

I'd like to start documenting hoodie-cli's features in the projects readme, which would mean presenting the output of hoodie command -h nicely as people don't seem to know that they can use the -h command, event tho it's documented.

Meaning, I wouldn't necessarily put it on the website?

@zoepage
Copy link
Author

zoepage commented Mar 4, 2014

It's the first place everybody is looking, when they make a installation for the first time.
They should see at least that they can install different templates / how to get help. When you are familiar with things like Terminal / bash, you know -h, but now everybody does. We should help the users to help themselves

@janl
Copy link
Member

janl commented Mar 4, 2014

Yeah I agree, this should at least have a teaser somewhere on the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants