Skip to content

Command line tools

The pen command has the following sub-commands.

For more information, see its help message by running pen --help.

It builds a package in the current directory.

Terminal window
pen build

It creates a package of a given kind in a specified directory.

Terminal window
pen create foo
Terminal window
pen create --library foo

It runs test modules in a package. See also Testing.

Terminal window
pen test

It formats all module files in a package.

Terminal window
pen format

It generates a documentation file of a package and emits it to stdout.

Terminal window
pen document \
--name Foo \
--description "A package to provide Foo" \
--url git://github.com/foo/foo