UNPKG

@stacksjs/clapp

Version:

A toolkit for building CLI prompts in TypeScript.

10 lines 344 B
import type { CommonOptions } from './common'; /** * Define a group of tasks to be executed */ export declare function tasks(tasks: Task[], opts?: CommonOptions): Promise<void>; export declare interface Task { title: string task: (message: (string: string) => void) => string | Promise<string> | void | Promise<void> enabled?: boolean }