---
url: /api/packages/cli/src.md
---
[pantoken-root](../../../index.md) / cli

# cli

Beta

`@pantoken/cli` — `pantoken generate <target>`.

Emits native and other non-npm design-token source into a consumer repo — the targets that don't
fit the npm-package model. Supported now: `swift` (with an SPM `Package.swift` manifest stub, so
registry publishing is later a config flip), `android`, `compose`, `flutter`, `wordpress`,
`vanilla`, `drupal`, `swatches`, `rust`, `icon-font`, `pendo`, `jekyll`, `hugo`, `mintlify`, and
`inline`, and `email`.

## Interfaces

* [CliArgs](interfaces/CliArgs.md)

## Functions

* [parseArgs](functions/parseArgs.md)
* [ensureComponentsJsonRegistry](functions/ensureComponentsJsonRegistry.md)
* [resolveRegistryItemNames](functions/resolveRegistryItemNames.md)
* [runAdd](functions/runAdd.md)
* [runCreate](functions/runCreate.md)
* [run](functions/run.md)
