gitnexushub 0.4.0 → 0.4.1
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/dist/connect-command.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ program
|
|
|
56
56
|
.description('Register Hub MCP, install skills, and write project files')
|
|
57
57
|
.argument('[token]', 'gnx_ API token (optional if already saved)')
|
|
58
58
|
.option('--editor <name>', 'Editor to configure: claude-code | cursor | windsurf | opencode')
|
|
59
|
-
.option('--hub <url>',
|
|
59
|
+
.option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
|
|
60
60
|
.option('--skip-project', 'Only configure MCP, skip project files')
|
|
61
61
|
.action(connectAction);
|
|
62
62
|
// ─── disconnect command ───────────────────────────────────────────
|
|
@@ -80,7 +80,7 @@ program
|
|
|
80
80
|
program
|
|
81
81
|
.command('index <repo>')
|
|
82
82
|
.description('Index a GitHub repo (owner/repo or URL)')
|
|
83
|
-
.option('--hub <url>',
|
|
83
|
+
.option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
|
|
84
84
|
.option('--token <token>', 'gnx_ API token (optional if already saved)')
|
|
85
85
|
.option('--wait', 'Wait for indexing to complete', false)
|
|
86
86
|
.action(async (repo, opts) => {
|
|
@@ -100,7 +100,7 @@ program
|
|
|
100
100
|
.command('sync')
|
|
101
101
|
.description('Push local working-tree state to the hub for re-indexing')
|
|
102
102
|
.option('--wait', 'Wait for indexing to complete', false)
|
|
103
|
-
.option('--hub <url>',
|
|
103
|
+
.option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
|
|
104
104
|
.action(async (opts) => {
|
|
105
105
|
try {
|
|
106
106
|
await runSync(opts);
|
package/package.json
CHANGED