Licenses
Many open-source licenses are available for use with PkgTemplates
, but if you see that one is missing, don't hesitate to open an issue or PR.
PkgTemplates.available_licenses
โ Function.available_licenses([io::IO]) -> Nothing
Print the names of all available licenses.
PkgTemplates.show_license
โ Function.show_license([io::IO], license::AbstractString) -> Nothing
Print the text of license
. Errors if the license is not found.
Helper Functions
PkgTemplates.read_license
โ Function.read_license(license::AbstractString) -> String
Returns the contents of license
. Errors if the license is not found. Use available_licenses
to view available licenses.