UNPKG

zenith-gen

Version:

A CLI tool designed to streamline the creation of projects within the Zenith Inova ecosystem, providing optimized configurations and modern development tools.

16 lines (15 loc) 415 B
import inquirer from 'inquirer'; export async function packageManagerPrompt() { const packageManager = await inquirer .prompt([ { type: 'list', name: 'packageManager', message: 'Select package manager', choices: ['pnpm', 'npm'], default: 'pnpm', }, ]) .then(ans => ans.packageManager); return packageManager; }