vipcare 0.3.5 → 0.3.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/bin/vip.js +5 -9
- package/package.json +1 -1
package/bin/vip.js
CHANGED
|
@@ -801,19 +801,15 @@ program.command('init')
|
|
|
801
801
|
const { CONFIG_FILE: cfgPath } = await import('../lib/config.js');
|
|
802
802
|
console.log(c.green(`\nConfig saved to ${cfgPath}`));
|
|
803
803
|
|
|
804
|
-
// Install Claude Code skill
|
|
804
|
+
// Install Claude Code skill by default
|
|
805
805
|
const skillSrc = new URL('../skill/vip.md', import.meta.url);
|
|
806
806
|
const skillDest = path.join(os.homedir(), '.claude', 'commands', 'vip.md');
|
|
807
807
|
|
|
808
808
|
if (fs.existsSync(new URL(skillSrc).pathname)) {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
fs.copyFileSync(new URL(skillSrc).pathname, skillDest);
|
|
814
|
-
console.log(c.green(` Installed: ${skillDest}`));
|
|
815
|
-
console.log(c.dim(' Use /vip in Claude Code to manage profiles with natural language'));
|
|
816
|
-
}
|
|
809
|
+
fs.mkdirSync(path.dirname(skillDest), { recursive: true });
|
|
810
|
+
fs.copyFileSync(new URL(skillSrc).pathname, skillDest);
|
|
811
|
+
console.log(c.green(`\n/vip skill installed: ${skillDest}`));
|
|
812
|
+
console.log(c.dim(' Use /vip in Claude Code to manage profiles with natural language'));
|
|
817
813
|
}
|
|
818
814
|
|
|
819
815
|
console.log(`\nYou're ready! Try: ${c.cyan('vip add "Sam Altman" --company "OpenAI"')}\n`);
|