dbcat 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # dbcat
1
+ # `dbcat`
2
2
 
3
3
  A simple CLI to view database tables. Supports PostgreSQL, MySQL, and SQLite.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dbcat",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A simple CLI to view database tables. Supports PostgreSQL, MySQL, and SQLite.",
5
5
  "author": "RiskyMH",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -210,12 +210,12 @@ function parseArgs() {
210
210
  const DEFAULT_LIMIT = 100;
211
211
 
212
212
  function showUsageAndExit(): never {
213
- console.error("Usage: dbcli <database>");
213
+ console.error("Usage: dbcat <database>");
214
214
  console.error("");
215
215
  console.error("Examples:");
216
- console.error(" dbcli ./data.db");
217
- console.error(" dbcli postgres://user:pass@localhost/mydb");
218
- console.error(" dbcli mysql://user:pass@localhost/mydb");
216
+ console.error(" dbcat ./data.db");
217
+ console.error(" dbcat postgres://user:pass@localhost/mydb");
218
+ console.error(" dbcat mysql://user:pass@localhost/mydb");
219
219
  console.error("");
220
220
  console.error("Or set DATABASE_URL environment variable.");
221
221
  process.exit(1);