rename function and add boxen

This commit is contained in:
Joe Danziger
2025-05-27 16:12:10 -04:00
parent 08ad455463
commit 5c128ed59a
3 changed files with 72 additions and 19 deletions

View File

@@ -103,7 +103,7 @@ import {
getRulesProfile
} from '../../src/utils/rule-transformer.js';
import {
runInteractiveRulesSetup,
runInteractiveProfilesSetup,
generateProfileSummary,
categorizeProfileResults,
generateProfileRemovalSummary,
@@ -2703,8 +2703,8 @@ Examples:
*/
if (action === RULES_SETUP_ACTION) {
// Run interactive rules setup ONLY (no project init)
const selectedRulesProfiles = await runInteractiveRulesSetup();
for (const profile of selectedRulesProfiles) {
const selectedRuleProfiles = await runInteractiveProfilesSetup();
for (const profile of selectedRuleProfiles) {
if (!isValidProfile(profile)) {
console.warn(
`Rule profile for "${profile}" not found. Valid profiles: ${RULE_PROFILES.join(', ')}. Skipping.`