Template option feature proposal
1000ch opened this issue · 6 comments
1000ch commented
--template template-file-path
(alias: -t
)
--format (json|md|html|csv)
(alias: -f
)
Underscore style is used as template notation in StyleStats now, but it is not simple.
Handlebars or Mustache style is better, I think.
related to #103
jmblog commented
I'd like to specify the extension of the generated file with the template file. For example, if I want to generate the file example.markdown
via example.css
, the name of template file would be template.markdown
. What do you think?
And about the template engine, I like handlebars. 😃
t32k commented
How about we use redirection? I'd like to keep it simple.
stylestats foo.css --template /path/to/template > foo.md
I also like Handlebars. 👍
jmblog commented
+1
1000ch commented
--format
options is for current --type
compatibility.
t32k commented
Released.