tpapp / PkgSkeleton.jl

Generate Julia package skeletons using a simple template system
Other
51 stars 7 forks source link

Arbitrary user_replacements? #44

Closed chris-b1 closed 1 year ago

chris-b1 commented 1 year ago

Hi @tpapp - thanks for the package! I was wondering if it'd be a reasonable addition to allow arbitrary keys/values to be passed to the user_replacements kwarg in generate?

In my particular usecase I want to do something like this, where {CONTENTS} is some dynamically loaded content from another file.

{PKGNAME.jl}

module {PKGNAME}

{CONTENTS}

end 
tpapp commented 1 year ago

Great idea, I will make a PR next week.