This document contains the help content for the wolfram-cli
command-line program.
Command Overview:
wolfram-cli
↴wolfram-cli paclet
↴wolfram-cli paclet new
↴wolfram-cli paclet build
↴wolfram-cli paclet doc
↴wolfram-cli paclet install
↴wolfram-cli paclet test
↴
Unofficial Wolfram command-line interface
Usage: wolfram-cli [OPTIONS] [COMMAND]
paclet
— Subcommands for creating, modifying, and querying paclets
-v
,--verbosity
— Whether to log progress and debugging information
Subcommands for creating, modifying, and querying paclets
Usage: wolfram-cli paclet <COMMAND>
new
— Create a new paclet in the current directory with the specified namebuild
— Build the specified pacletdoc
— Build paclet documentationinstall
— Install the specified.paclet
filetest
— Run tests defined for a paclet
Create a new paclet in the current directory with the specified name
Usage: wolfram-cli paclet new [OPTIONS] <NAME>
<NAME>
— Name of the paclet
-b
,--base
— use paclet base name as directory name
Build the specified paclet
This uses PacletBuild[..]
to build the specified paclet.
Usage: wolfram-cli paclet build [OPTIONS] [PACLET_DIR] [BUILD_DIR]
<PACLET_DIR>
<BUILD_DIR>
-i
,--install
— Install the built paclet
Build paclet documentation
Usage: wolfram-cli paclet doc [OPTIONS] [PACLET_DIR] [BUILD_DIR]
<PACLET_DIR>
<BUILD_DIR>
--html
— Build paclet documentation into HTML--open
— Automatically open the built HTML documentation
Install the specified .paclet
file
This uses PacletInstall
to install the specified paclet archive file.
Install a .paclet
file:
shell $ wolfram-cli paclet install MyPaclet.paclet
Usage: wolfram-cli paclet install <PACLET_FILE>
<PACLET_FILE>
Run tests defined for a paclet
This uses PacletTools`PacletTest
to execute any tests defined by the specified paclet.
Usage: wolfram-cli paclet test [OPTIONS] [PACLET_DIR] [TESTS_PATH]
<PACLET_DIR>
— Optional path to a paclet directory<TESTS_PATH>
— Optional file or directory containing tests to be run
-C
,--diff-context <DIFF_CONTEXT>
— Lines of context to print before and after a diff in test output
This document was generated automatically by
clap-markdown
.