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

CLI discussion #4

Open
damusix opened this issue Aug 7, 2020 · 0 comments
Open

CLI discussion #4

damusix opened this issue Aug 7, 2020 · 0 comments

Comments

@damusix
Copy link

damusix commented Aug 7, 2020

Thinking maybe we have a discussion of what would be nice to haves with this tool. I'm interested in helping out.

Similar to hpal, perhaps we could have the following commands:

new

Generates starting points for projects

  • tori new spa -> git clones SPA boilerplate
  • tori new ismorphic -> git clones https://github.com/nesterow/frontless perhaps?
  • and so on.. There's a bunch of interesting boilerplates in riot/riot/AWESOME.md

make

Could generate files based on internal templates or user defined templates. Also used for generating misc setup files.

  • tori make config
  • tori make component
  • tori make meiosis/action
  • tori make plugin
  • tori make router
  • tori make final-form

Perhaps manage CLI arguments with https://github.com/hapijs/bossy and some real basic colors https://github.com/hapipal/hpal/blob/master/lib/print.js#L136

Thoughts?

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

No branches or pull requests

1 participant