t32k/stylestats

Template option feature proposal

1000ch opened this issue · 6 comments

--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

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. 👍

+1

--format options is for current --type compatibility.

t32k commented

Plan v5.0.0 #105

t32k commented

Released.