UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

24 lines (18 loc) 586 B
import { SchemaRegistry } from '@sprucelabs/schema' import { SpruceErrors } from '../errors.types' const commandAbortedSchema: SpruceErrors.SpruceCli.CommandAbortedSchema = { id: 'commandAborted', namespace: 'SpruceCli', name: 'Command aborted', fields: { /** Command. */ 'command': { label: 'Command', type: 'text', isRequired: true, options: undefined }, } } SchemaRegistry.getInstance().trackSchema(commandAbortedSchema) export default commandAbortedSchema