UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

27 lines (21 loc) 885 B
import { diskUtil } from '@sprucelabs/spruce-skill-utils' import { FileDescription } from '../../types/cli.types' import AbstractFeature from '../AbstractFeature' import { FeatureCode } from '../features.types' export default class EventContractFeature extends AbstractFeature { public code: FeatureCode = 'eventContract' public nameReadable = 'Event Contract' public description = 'Pull core Mercury events down and write to single, portable, dependency-free, strongly typed contract.' public actionsDir = diskUtil.resolvePath(__dirname, 'actions') public readonly fileDescriptions: FileDescription[] = [] public isInstalled = async () => true } declare module '../../features/features.types' { interface FeatureMap { eventContract: EventContractFeature } interface FeatureOptionsMap { eventContract: undefined } }