tlienart / Franklin.jl

(yet another) static site generator. Simple, customisable, fast, maths with KaTeX, code evaluation, optional pre-rendering, in Julia.
https://franklinjl.org
MIT License
944 stars 113 forks source link

CLI for Franklin #618

Open Roger-luo opened 3 years ago

Roger-luo commented 3 years ago

hey just want to let you know I wrapped up a CLI for Franklin using Comonicon: https://github.com/JuliaCLI/FranklinCLI.jl

I'd like to hear some feedbacks from people if there is anyone wants to try, it currently wraps the major interface

franklin new
franklin serve

but it's simple to have more commands supported, such as publish etc. just like all other static website generator, jekyll, hexo etc.

Currently, this CLI package will automatically build a system image locally, but since I didn't add all the test dependencies, thus the system image won't benefit from the nice test coverage of Franklin at the moment. It might be good if someone familiar with the implementation to write some code that should be compiled to FranklinCLI's test to make things faster.

Bests Roger

tlienart commented 3 years ago

Oh but that's awesome! I'll try it soon!! Feel free to advertise that on the #franklin slack channel too, I'm sure a few people will give it a shot :)