UNPKG

@pronix/hyper-flow

Version:

Framework for building progressive console applications on node.js platform

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