pio package pack

New in version 5.0.

Usage

pio package pack [<source directory, tar.gz or zip>] [OPTIONS]

Description

Create a tarball from a package (library, Development Platforms, or tool).

If no arguments are supplied, then platformio packs the current package folder.

A source of a package must contain a manifest (should be located in a root of a package) depending on a package type:

Library:

A library.json is a manifest file of a library package.

Platform:

A platform.json is a manifest file of a development platform package. See Manifest File platform.json.

Tool:

A package.json is a manifest file of a tool package. It is intended for toolchains, flashers, debugging servers, simulators, and other tools.

See a manifest validation scheme.

Options

-o, --output

Specify a destination path (folder or a full path to file) where to store a tarball. The default is to create a tarball in the current working directory.

See Also