idea-manager 0.9.0 → 0.9.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/package.json +1 -1
- package/src/lib/sync/index.ts +5 -0
package/package.json
CHANGED
package/src/lib/sync/index.ts
CHANGED
|
@@ -66,6 +66,11 @@ export async function syncInit() {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
if (!repoUrl) {
|
|
69
|
+
if (!ghAvailable) {
|
|
70
|
+
console.log('\n gh CLI not found — auto repo creation unavailable.');
|
|
71
|
+
console.log(' Create a repo on GitHub first, then paste the URL below.');
|
|
72
|
+
console.log(' (Install gh: https://cli.github.com)\n');
|
|
73
|
+
}
|
|
69
74
|
repoUrl = await ask('Enter git repository URL');
|
|
70
75
|
if (!repoUrl) {
|
|
71
76
|
console.error('\n Error: Repository URL is required.\n');
|