UNPKG

@pronix/hyper-flow

Version:

Framework for building progressive console applications on node.js platform

8 lines (7 loc) 287 B
import { HyperContext } from "../Hyper/HyperContext"; export interface ICommand { cmd: string; resolve: (ctx: HyperContext, cmd?: string) => void; } export declare type Marker = () => string; export declare type CommandResolve = (ctx: HyperContext, cmd?: string) => void;