How can I generate HTML from CLI?

Is it possible to generate the HTML from CLI?

Yes. Refer to HTML – Typst Documentation.