begin citation

This commit is contained in:
Mathieu Besançon 2019-05-14 16:15:43 +02:00
parent 901a0a3d71
commit 644a1f0e11

View File

@ -24,6 +24,7 @@ create a template, you can use [`interactive_template`](@ref) instead.
* `julia_version::VersionNumber=$VERSION`: Minimum allowed Julia version.
* `ssh::Bool=false`: Whether or not to use SSH for the git remote. If `false` HTTPS will be used.
* `manifest::Bool=false`: Whether or not to commit the `Manifest.toml`.
* `citation::Bool=false`: Whether or not to create a `CITATION.bib` file at the top-level.
* `plugins::Vector{<:Plugin}=Plugin[]`: A list of `Plugin`s that the package will include.
"""
struct Template
@ -35,6 +36,7 @@ struct Template
julia_version::VersionNumber
ssh::Bool
manifest::Bool
citation::Bool
plugins::Dict{DataType, <:Plugin}
function Template(;
@ -46,6 +48,7 @@ struct Template
julia_version::VersionNumber=VERSION,
ssh::Bool=false,
manifest::Bool=false,
citation::Bool=false,
plugins::Vector{<:Plugin}=Plugin[],
git::Bool=true,
)