Choo: Announcing choo-cli

Created on 27 Jul 2016  路  5Comments  路  Source: choojs/choo

_I'm super excited to announce that a working prototype has been created_

Motivation

The scaffolding tool is meant to be extremely lightweight, with as _few abstractions as possible_ along with a strong emphasis on functional programming.

The cli is used in conjunction with templates, where the templates themselves govern how the scaffolding works. This should allow high customizability along with a clear and concise pattern to follow without abstractions around manipulating the filesytem. It is designed to use node_modules or a direct path to load your templates.

choo init  --template <path or node_module>

It looks for an exports.init and exports.generate, and exports.add. these are used to hook to the cli where it passes argv data to the templates directly.

You can check it out here:
https://github.com/trainyard/choo-cli

If you want to hack together on this or get involved you are more than welcome. There's a lot left to do, come join the fun :)

Most helpful comment

choo-cli is very close to 1.0.0 release, we have unit testing, a pretty UX, and it has been tested and working with Windows 10, Ubuntu 15, and Mac Os X

All 5 comments

I quite like the idea of a CLI hey. I feel like create-react-app is operating at the wrong abstraction level (obfuscating complexity rather than providing a sensible starting point), but providing people with a comprehensible way to get started makes sense.

I'm curious what you envision choo-cli should do, and how it's different from generator-choo; would you you mind sharing your ideas on this?

I feel the same way about create-react-app and its 700+ transient dependencies, but with yeoman and plop also.

I would like to use a CLI that is insanely easy to hack and is super light weight.

My vision:

The choo-cli _should not get in the developers way at all_. That might be a crazy notion but I really want to strive for that.

When someone creates a choo template they work with a tiny API that is injected from the runner rather than having to add additional dependencies .The author of a template just has to export init, add, and generate - More details here.

More details are in the manifesto

Talking about cli ecosystem, I liked the vue cli, mostly because it allows to write and install custom templates. Oficial templates are good for beginers, or quick projects, but with experience, special and unique needs start to appear, and an easy way to create your own templates is a win for me. Might work to have a look :+1:

choo-cli is very close to 1.0.0 release, we have unit testing, a pretty UX, and it has been tested and working with Windows 10, Ubuntu 15, and Mac Os X

I think this can safely be closed; it's among the very first things we link to in the READMe. Heaps thanks for building this @MattMcFarland @YerkoPalma :heart:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rafaismyname picture rafaismyname  路  6Comments

tunnckoCore picture tunnckoCore  路  3Comments

tornqvist picture tornqvist  路  4Comments

samkingco picture samkingco  路  3Comments

knownasilya picture knownasilya  路  3Comments