kubesphere / ksbuilder

A CLI tool helps you to manage the development of kubesphere extensions
MIT License
10 stars 19 forks source link

Refactor the template directory and generate the contents of the folder directly #28

Closed iawia002 closed 1 year ago

iawia002 commented 1 year ago

ref https://github.com/kubesphere/issues/issues/1097

From now on, the generated sample project will directly use the content in the pkg/extension/templates directory, render it and output it, what you see is what you get, this way we can clearly know what is in the template, adding and deleting content will become simple, just need to add content to the pkg/extension/templates directory, no need to change other code.

/cc @wansir

wansir commented 1 year ago

LGTM