@bytebase/dbhub 0.0.1-20250312.929c614 → 0.0.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/README.md +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,9 +58,8 @@ npm install -g @bytebase/dbhub@dev
|
|
|
58
58
|
|
|
59
59
|
# Run from anywhere
|
|
60
60
|
dbhub --dsn="postgres://user:password@localhost:5432/dbname"
|
|
61
|
-
```
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
# Run via npx
|
|
64
63
|
npx @bytebase/dbhub --dsn="postgres://user:password@localhost:5432/dbname"
|
|
65
64
|
```
|
|
66
65
|
|
|
@@ -68,7 +67,7 @@ npx @bytebase/dbhub --dsn="postgres://user:password@localhost:5432/dbname"
|
|
|
68
67
|
|
|
69
68
|
### Configure your database connection
|
|
70
69
|
|
|
71
|
-
|
|
70
|
+
Database Source Name (DSN) is required to connect to your database. You can provide this in several ways:
|
|
72
71
|
|
|
73
72
|
- **Command line argument** (highest priority):
|
|
74
73
|
|
|
@@ -106,7 +105,7 @@ DBHub requires a Database Source Name (DSN) to connect to your database. You can
|
|
|
106
105
|
### Command line options
|
|
107
106
|
|
|
108
107
|
| Option | Description | Default |
|
|
109
|
-
|
|
|
108
|
+
| :-------- | :-------------------------------------------------------------- | :---------------------------------- |
|
|
110
109
|
| dsn | Database connection string | Required if not set via environment |
|
|
111
110
|
| transport | Transport mode: `stdio` or `sse` | `stdio` |
|
|
112
111
|
| port | HTTP server port (only applicable when using `--transport=sse`) | `8080` |
|