class Action[A]
A global flag that does something instead of running the command
(--help, --version): when given, the runner calls run with
its value and stops.
Attributes#
| Attribute | Type | Description |
|---|---|---|
flag | Flag[A] | |
run | Callable[[A, HandlerContext], Effect[None]] |
Functions#
__init__#
__init__(flag, run) -> None| Parameter | Type | Description |
|---|---|---|
flag | Flag[A] | |
run | Callable[[A, HandlerContext], Effect[None]] |