brand-intent 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/index.mjs +15 -21
- package/package.json +1 -1
package/cli/index.mjs
CHANGED
|
@@ -107,30 +107,24 @@ if (!command || command === '--help' || command === '-h') {
|
|
|
107
107
|
process.exit(0);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
// Ask for project folder
|
|
111
|
+
console.log(' Brand Intent \u2014 What a brand means. Authored, structured, shared.\n');
|
|
112
|
+
const folder = await ask(' Project folder (. for current directory): ');
|
|
113
|
+
const targetDir = resolve(cwd, folder.trim() || '.');
|
|
114
|
+
if (targetDir !== cwd) {
|
|
115
|
+
mkdirSync(targetDir, { recursive: true });
|
|
116
|
+
}
|
|
117
|
+
console.log('');
|
|
113
118
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
const hasCursor = installed.some(h => h.id === 'cursor');
|
|
119
|
+
await installSkills(targetDir);
|
|
120
|
+
closeRl();
|
|
117
121
|
|
|
118
122
|
console.log('\n Done. Now open your AI agent and try:\n');
|
|
119
123
|
console.log(' "Onboard my brand"');
|
|
120
124
|
console.log(' "Show me the Krume bakery example"');
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
console.log(' /brand-intent example Scaffold the Krume reference implementation');
|
|
127
|
-
console.log(' /brand-intent validate Validate content against your brand rules');
|
|
128
|
-
console.log(' /brand-intent Discover brand files and available purposes');
|
|
129
|
-
}
|
|
130
|
-
if (hasCursor) {
|
|
131
|
-
console.log(' @brand-intent onboard Create your brand through a guided interview');
|
|
132
|
-
console.log(' @brand-intent example Scaffold the Krume reference implementation');
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
125
|
+
console.log('\n Skill commands:\n');
|
|
126
|
+
console.log(' /brand-intent onboard Create your brand through a guided interview');
|
|
127
|
+
console.log(' /brand-intent example Scaffold the Krume reference implementation');
|
|
128
|
+
console.log(' /brand-intent validate Validate content against your brand rules');
|
|
129
|
+
console.log(' /brand-intent Discover brand files and available purposes');
|
|
136
130
|
console.log('');
|
package/package.json
CHANGED