API

Functions

generate

generate("owner/PackageName.jl"; path, authors)

Generate a new Julia package from the JuliaPackageTemplate.

Arguments

  • repo: GitHub repository in "owner/PackageName.jl" format.

Keyword Arguments

  • path: Target directory. Defaults to PackageName under JULIA_PKG_DEVDIR, or under ~/.julia/dev when that environment variable is unset.
  • authors: Package authors (default: derived from git config user.name and git config user.email).
  • visibility: GitHub repo visibility — "private", "public", or "none" to skip repo creation (default: "private").
  • logo: URL for the docs navbar logo (default: Rallypoint One logo for RallypointOne repos, nothing otherwise).
  • logo_url: URL the logo links to (default: https://rallypoint1.com for RallypointOne repos, nothing otherwise).

Dependencies (when visibility != "none")

  • git — repo initialization and push.
  • gh — GitHub CLI, authenticated with repo scope (create repos, deploy keys, secrets, Pages).
  • ssh-keygen — generates the TagBot deploy key.

Examples

generate("myorg/MyPackage.jl")
generate("myorg/MyPackage.jl"; path="/tmp/MyPackage", authors=["Alice", "Bob"])