Skip to content

Commit 454fd40

Browse files
authored
feat: add Configuration settings (#71)
1 parent be2d6c4 commit 454fd40

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

gemini-extension.json

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,36 @@
99
"--prebuilt",
1010
"mssql",
1111
"--stdio"
12-
],
13-
"env": {
14-
"MSSQL_HOST": "${MSSQL_HOST}",
15-
"MSSQL_PORT": "${MSSQL_PORT}",
16-
"MSSQL_DATABASE": "${MSSQL_DATABASE}",
17-
"MSSQL_USER": "${MSSQL_USER}",
18-
"MSSQL_PASSWORD": "${MSSQL_PASSWORD}"
19-
}
12+
]
2013
}
2114
},
22-
"contextFileName": "SQL-SERVER.md"
23-
}
15+
"contextFileName": "SQL-SERVER.md",
16+
"settings": [
17+
{
18+
"name": "Host",
19+
"description": "Host or IP address of the SQL Server",
20+
"envVar": "MSSQL_HOST"
21+
},
22+
{
23+
"name": "Port",
24+
"description": "Port number of the SQL Server",
25+
"envVar": "MSSQL_PORT"
26+
},
27+
{
28+
"name": "Database",
29+
"description": "Name of the database",
30+
"envVar": "MSSQL_DATABASE"
31+
},
32+
{
33+
"name": "User",
34+
"description": "Username of the database user",
35+
"envVar": "MSSQL_USER"
36+
},
37+
{
38+
"name": "Password",
39+
"description": "Password of the database user",
40+
"envVar": "MSSQL_PASSWORD",
41+
"sensitive": true
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)