UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

28 lines (27 loc) 782 B
import { SchemaValues } from '@sprucelabs/schema'; import AbstractAction from '../../AbstractAction'; import { FeatureActionResponse } from '../../features.types'; export default class LoginAction extends AbstractAction<OptionsSchema> { optionsSchema: OptionsSchema; commandAliases: string[]; invocationMessage: string; execute(options: Options): Promise<FeatureActionResponse>; } declare const optionsSchema: { id: string; description: string; fields: { phone: { type: "phone"; label: string; isRequired: true; }; pin: { type: "text"; label: string; }; }; }; type OptionsSchema = typeof optionsSchema; type Options = SchemaValues<OptionsSchema>; export {};