AponiaJSDocs
CLI

Aponia CLI

Use the Bun-native AponiaJS project and schematic generators.

The CLI is published as @aponiajs/cli and exposes the aponia binary. create-aponia provides the matching bun create entrypoint.

Install

bun add --global @aponiajs/cli@alpha
aponia --version

Every public package is published to the npm alpha distribution tag; latest is reserved for the first stable release.

Commands

aponia new <name> [options]
aponia n <name> [options]
aponia generate <schematic> <name> [options]
aponia g <schematic> <name> [options]
aponia help
aponia version

Generator support is not runtime support

The CLI can generate familiar Nest-style file shapes for capabilities the runtime does not execute yet. Guards, interceptors, middleware, filters, GraphQL, and microservices are scaffolds only. Modules, controllers, services, providers, gateways, and REST and WebSocket resources are runnable.

On this page