Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 889 Bytes

Programs.md

File metadata and controls

22 lines (12 loc) · 889 Bytes

@black-flag/coreDocs


@black-flag/core / util / Programs

Type Alias: Programs<CustomCliArguments, CustomExecutionContext>

Programs<CustomCliArguments, CustomExecutionContext>: { [Descriptor in ProgramDescriptor]: DescriptorToProgram<Descriptor, CustomCliArguments, CustomExecutionContext> }

Represents the program types that represent every Black Flag command as aptly-named values in an object.

Type Parameters

CustomCliArguments extends Record<string, unknown> = Record<string, unknown>

CustomExecutionContext extends ExecutionContext = ExecutionContext

Defined in

types/program.ts:173