CreatePaclet
CreatePaclet["name"]
creates a paclet directory called name in the current directory.
CreatePaclet[object]
creates a paclet directory structure corresponding to the specified PacletObject expression in the current directory.
CreatePaclet["name", dir]
creates a paclet directory called name in the directory dir.
CreatePaclet[object, dir]
creates a paclet directory structure corresponding to the specified PacletObject expression in the directory dir.
Details and Options
- CreatePaclet creates a directory and generates an appropriate PacletInfo.wl for it.
- CreatePaclet will create subdirectories corresponding to the specified paclet extensions, if appropriate.
- Common PacletObject metadata fields can be passed as options to CreatePaclet, and are used to populate the generated PacletInfo.wl file. The following options are supported:
-
"Extensions" {"Kernel", "Documentation"} the set of paclet extensions provided by the new paclet "Version" "0.0.1" The initial "Version" number of the new paclet "WolframVersion" Automatic The initial "WolframVersion" requirement of the new paclet. Defaults to any version greater than or equal to $VersionNumber. - Paclets created by CreatePaclet are in a format incompatible with versions of the Wolfram Language prior to 12.1.
Examples
open allclose allBasic Examples (4)
Options (2)
Applications (1)
Possible Issues (1)
CreatePaclet[PacletObject[<| .. |>], ..] will return an error if any options are specified. This is to prevent ambiguity with keys within the association:
Text
Wolfram Research (2020), CreatePaclet, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html (updated 2021).
CMS
Wolfram Language. 2020. "CreatePaclet." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html.
APA
Wolfram Language. (2020). CreatePaclet. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PacletTools/ref/CreatePaclet.html