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
Official Command Line Tool #44
Comments
@nebrelbug Thoughts? |
This is a great idea! We should look at https://github.com/mde/ejs and https://github.com/pugjs/pug-cli for some examples of similar tools. Ideally a CLI would accept configuration options through command line flags or through a config file like We'd need to think about how we'd handle partials and layouts. |
I was thinking it would do the prerendering of templates and then add the ability to render templates. |
Also, should we keep the CLI within this |
Just as a side note, it could also seem like a good idea to use a framework like oclif. It may add a little bit of structure. |
@shadowtime2000 I think it's probably best to keep the CLI inside the I love the idea of using oclif! I especially like its support for plugins. |
@nebrelbug I think oclif is more built and structured for the CLI to be in its own package because of the complexity of it and how it may interfere with the current |
@shadowtime2000 my bad, I think either option -- |
@nebrelbug We could also just use |
I completed the CLI with basic compiling functionality and I have unit tests with Jest. Now I think it is time to decide the package name. Since |
@shadowtime2000 great! |
I am going to close this now because the CLI has been published. |
Is your feature request related to a problem? Please describe.
There is no official CLI for
eta
.Describe the solution you'd like
A CLI preferably written in Typescript using yargs. It should be able to facilitate testing to make sure it is working properly.
Describe alternatives you've considered
Not having a CLI.
Additional context
I could work on this, I just want to see what people think.
The text was updated successfully, but these errors were encountered: