cloverfield-tools / cloverfield

A next generation JavaScript boilerplate scaffolding tool.
MIT License
142 stars 8 forks source link

Scaffolds and cf CLI Meta issue #7

Open ericelliott opened 9 years ago

ericelliott commented 9 years ago

CLI

If cf is invoked with missing arguments, it should:

Create a new package from a Cloverfield scaffold. Scaffolds should be cached locally. See Scaffold Conventions

Usage

cf build <scaffold-name>

TODO:

ericelliott commented 9 years ago

@nkbt Now that the boilerplates are starting to shape up, are you interested in working on this?

nkbt commented 9 years ago

By all means, always wanted to build one for myself =)

ericelliott commented 9 years ago

Great. I've created the Scaffold conventions doc. Feel free to take on the build tooling at your convenience.

ericelliott commented 9 years ago

See JSHomes Platform Meta issue

troutowicz commented 9 years ago

This is looking great so far. I will be a little busy the next couple days but I plan on helping out!

ericelliott commented 9 years ago

:+1:

ericelliott commented 9 years ago

https://twitter.com/sethetter/status/618779021526970368

This is worth calling out. My primary problem with yeoman is the ecosystem signal to noise ratio. It got so bad, when I thought about scaffold solutions and realized we could probably just wrap yeoman, the idea of even having the project associated with yeoman mentally was bad enough it was worth starting from scratch.

How do we prevent the inevitably terrible scaffolds from turning off users?

I think the answer is that the CLI should have first class search and discovery for curated scaffolds, and no search/discovery for community scaffolds. If people want to search past the cf whitelist, they can use npm search, Google, or GitHub search.

We're not yeoman and we're not npm, where you search for needles in a giant haystack. We're a tool for eliminating choices, not adding to them.

therealklanni commented 9 years ago

:+1:

ericelliott commented 9 years ago

@nkbt It's been a while since we saw any activity here. Where are we on turning prod-module-boilerplate into a cf scaffold?

nkbt commented 9 years ago

The base for cf package is merged now, so we can go further... It's been a pretty busy time anyway :).