import { PromptModuleAPI } from "../promptModuleAPI"; /** * @unsupported * @param cli */ export default function(cli: PromptModuleAPI): void { cli.injectFeature({ name: "Store", value: "store", description: "Manage the app state with a centralized store", link: "", }); cli.onPromptComplete((answers, options) => { if (!options.plugins) { return; } if (answers.features.includes("store")) { options.plugins["cli-plugin-store"] = {}; } }); };