@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
25 lines (24 loc) • 959 B
TypeScript
import { GlobalEmitter } from '../GlobalEmitter';
import ServiceFactory from '../services/ServiceFactory';
import StoreFactory from '../stores/StoreFactory';
import { ApiClientFactory } from '../types/apiClient.types';
import { GraphicsInterface } from '../types/cli.types';
import ActionExecuter from './ActionExecuter';
import FeatureInstaller from './FeatureInstaller';
import { FeatureCode } from './features.types';
export default class FeatureInstallerFactory {
private static readonly features;
static readonly featureCodes: FeatureCode[];
static WithAllFeatures(options: InstallerWithAllFeaturesOptions): FeatureInstaller;
}
interface InstallerWithAllFeaturesOptions {
cwd: string;
serviceFactory: ServiceFactory;
storeFactory: StoreFactory;
featureInstaller?: FeatureInstaller;
ui: GraphicsInterface;
emitter: GlobalEmitter;
apiClientFactory: ApiClientFactory;
actionExecuter: ActionExecuter;
}
export {};