zaydek / retro-legacy

[WIP] Your friendly neighborhood React static-site generator
MIT License
2 stars 0 forks source link

[Defer] CLI: Create directives #13

Closed zaydek closed 3 years ago

zaydek commented 3 years ago

Would be really nice if we can do:

zaydek commented 3 years ago

We might need to disambiguate retro create x from retro create page x. Maybe we should rename create or simply remove it in favor of npx create-retro-app. This is somewhat harmful though because it would also be nice to just have Retro as a global CLI tool and not rely on create x tools.

So then we need something like: retro new x and retro create page x. Or maybe we do retro create app x and retro create page x. That seems to be the most comfortable.

The other use case is supporting templates like --language=js, etc.

zaydek commented 3 years ago

Deferring this for 0.2 or 0.3, etc.

zaydek commented 3 years ago

This seems out of scope for now since we’ve extracted create-retro-app. Maybe will revisit later.