postgresai 0.11.0-alpha.2 → 0.11.0-alpha.3
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/postgres-ai.js +6 -0
- package/package.json +1 -1
package/bin/postgres-ai.js
CHANGED
|
@@ -199,6 +199,12 @@ program
|
|
|
199
199
|
const list = filtered.length > 0 ? filtered : [];
|
|
200
200
|
if (list.length === 0) {
|
|
201
201
|
console.log("No instances configured");
|
|
202
|
+
console.log("");
|
|
203
|
+
console.log("To add an instance:");
|
|
204
|
+
console.log(" postgres-ai add-instance <connection-string> <name>");
|
|
205
|
+
console.log("");
|
|
206
|
+
console.log("Example:");
|
|
207
|
+
console.log(" postgres-ai add-instance 'postgresql://user:pass@host:5432/db' my-db");
|
|
202
208
|
return;
|
|
203
209
|
}
|
|
204
210
|
for (const n of list) console.log(`Instance: ${n}`);
|