alepha@docs:~/docs/packages/alepha$
cat command.md
1 min read
Last commit:

#Alepha - Command

#Installation

Part of the alepha package. Import from alepha/command.

npm install alepha

#Overview

This module provides a powerful way to build command-line interfaces directly within your Alepha application, using declarative primitives.

It allows you to define commands using the $command primitive.

#API Reference

#Primitives

Primitives are functions that define and configure various aspects of your application. They follow the convention of starting with $ and return configured primitive instances.

For more details, see the Primitives documentation.

#$command()

Declares a CLI command.

This primitive allows you to define a command, its flags, and its handler within your Alepha application structure.

On This Page
No headings found...
ready
mainTypeScript
UTF-8packages_alepha_command.md