hookstack-cli 0.1.4 → 0.1.5
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/cli.mjs +3 -1
- package/package.json +1 -1
package/bin/cli.mjs
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from './core.mjs'
|
|
17
17
|
|
|
18
18
|
const API_BASE = process.env.HOOKSTACK_API_BASE || 'https://hookstack.vercel.app'
|
|
19
|
+
const REPO_URL = 'github.com/steve-magne/hookstack'
|
|
19
20
|
const VERSION = '0.1.3'
|
|
20
21
|
|
|
21
22
|
async function fetchHooks(slugs) {
|
|
@@ -171,6 +172,7 @@ async function interactiveInstall(slugs, args) {
|
|
|
171
172
|
}
|
|
172
173
|
s2.stop(`Wrote ${plural(result.scriptCount, 'script')} + patched settings.json`)
|
|
173
174
|
|
|
175
|
+
p.log.info(`⭐ star us → ${pc.cyan(REPO_URL)}`)
|
|
174
176
|
p.outro(pc.green(`✓ Installed ${plural(result.hookCount, 'hook')} — restart Claude Code to activate.`))
|
|
175
177
|
}
|
|
176
178
|
|
|
@@ -194,7 +196,7 @@ async function directInstall(slugs, args) {
|
|
|
194
196
|
const log = { warn: m => console.warn(` ! ${m}`) }
|
|
195
197
|
const result = doInstall(hooks, dirs, args.scope, log)
|
|
196
198
|
console.log(` ✓ ${dirs.settingsPath}`)
|
|
197
|
-
console.log(`\n✅
|
|
199
|
+
console.log(`\n✅ ${plural(result.hookCount, 'hook')} installed · star us → ${REPO_URL}`)
|
|
198
200
|
console.log(' Restart Claude Code to activate.\n')
|
|
199
201
|
}
|
|
200
202
|
|