@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
27 lines (26 loc) • 840 B
TypeScript
import { NpmPackage } from '../../types/cli.types';
import AbstractFeature, { FeatureDependency } from '../AbstractFeature';
import { ActionOptions, FeatureCode } from '../features.types';
export default class ViewFeature extends AbstractFeature {
nameReadable: string;
description: string;
code: FeatureCode;
actionsDir: string;
readonly _packageDependencies: NpmPackage[];
dependencies: FeatureDependency[];
constructor(options: ActionOptions);
private handleDidExecuteUpgrade;
afterPackageInstall(): Promise<{
files?: undefined;
} | {
files: import("../../writers/AbstractWriter").WriteResults;
}>;
}
declare module '../../features/features.types' {
interface FeatureMap {
view: ViewFeature;
}
interface FeatureOptionsMap {
view: undefined;
}
}