MCPcopy Index your code
hub / github.com/angular/angularfire / featuresPrompt

Function featuresPrompt

src/schematics/setup/prompts.ts:82–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81
82export const featuresPrompt = async (): Promise<FEATURES[]> => {
83 const { features } = await inquirer.prompt({
84 type: 'checkbox',
85 name: 'features',
86 choices: featureOptions,
87 message: 'What features would you like to setup?',
88 default: [],
89 }) as { features: FEATURES[] };
90 return features;
91};
92
93export const userPrompt = async (options: { projectRoot: string }): Promise<Record<string, any>> => {
94 const firebaseTools = await getFirebaseTools();

Callers 1

ngAddSetupProjectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected