Skip to content

Commit 084629d

Browse files
Add context7.json for dbatools documentation
1 parent b5264a8 commit 084629d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

context7.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://context7.com/schema/context7.json",
3+
"projectTitle": "dbatools",
4+
"description": "Auto-generated documentation for the dbatools PowerShell module (~700 SQL Server automation commands).",
5+
"folders": [],
6+
"excludeFolders": [".github", "assets", "bogus"],
7+
"excludeFiles": ["CNAME"],
8+
"rules": [
9+
"Use -EnableException when you need try/catch; dbatools is 'nice by default' and otherwise suppresses hard throws.",
10+
"Prefer -SqlInstance (DbaInstanceParameter). For non-default ports, quote 'server:port' or 'server,port'.",
11+
"Dry-run destructive commands with -WhatIf and require confirmation with -Confirm where available.",
12+
"On Linux/macOS, use PowerShell Core 7.4+; Windows works with Windows PowerShell v3+.",
13+
"For whole-instance moves use Start-DbaMigration; for granular tasks use Copy-Dba* commands.",
14+
"Use Invoke-DbaQuery with -SqlParameter to avoid SQL injection in dynamic queries."
15+
],
16+
"previousVersions": [
17+
{ "tag": "v2.5.5", "title": "2.5.5 (Azure Trusted Signing)" },
18+
{ "tag": "v2.5.1", "title": "2.5.1" },
19+
{ "tag": "v2.1.32", "title": "2.1.32" }
20+
]
21+
}

0 commit comments

Comments
 (0)