Part of the alepha package. Import from alepha/command.
npm install alepha
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.
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.
Declares a CLI command.
This primitive allows you to define a command, its flags, and its handler within your Alepha application structure.