Skip to content

Commit 1def0c8

Browse files
committed
Update tool reference documentation
1 parent 70c51c2 commit 1def0c8

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

docs/tool-reference.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,17 @@ Removes specific patterns from the ignore list.
246246
dotnet run --project src/NetContextClient/NetContextClient.csproj -- remove-ignore-patterns --patterns "*.generated.cs" "bin/*"
247247
```
248248

249+
## Default Ignore Patterns
250+
251+
The following patterns are ignored by default to protect sensitive information:
252+
- `*.env` - Environment files
253+
- `appsettings.*.json` - Application settings
254+
- `*.pfx` - Certificate files
255+
- `*.key` - Key files
256+
- `*.pem` - PEM files
257+
- `*password*` - Files containing "password" in the name
258+
- `*secret*` - Files containing "secret" in the name
259+
249260
## General Tools
250261

251262
### `hello`
@@ -403,27 +414,6 @@ The tool returns error responses in the following cases:
403414
}
404415
```
405416

406-
## Default Ignore Patterns
407-
408-
The following patterns are ignored by default to protect sensitive information:
409-
- `*.env` - Environment files
410-
- `appsettings.*.json` - Application settings
411-
- `*.pfx` - Certificate files
412-
- `*.key` - Key files
413-
- `*.pem` - PEM files
414-
- `*password*` - Files containing "password" in the name
415-
- `*secret*` - Files containing "secret" in the name
416-
417-
## Error Handling
418-
419-
The server provides clear error messages for common scenarios:
420-
- Directory not found
421-
- Access denied (outside base directory)
422-
- Invalid patterns
423-
- File size limits exceeded
424-
- Restricted file types
425-
- Missing environment variables for semantic search
426-
427417
## Coverage Analysis Tools
428418

429419
### `coverage-analysis`
@@ -477,4 +467,14 @@ Returns a summary object containing:
477467
**Example:**
478468
```bash
479469
dotnet run --project src/NetContextClient/NetContextClient.csproj -- coverage-summary --report-path "TestResults/coverage.json"
480-
```
470+
```
471+
472+
## Error Handling
473+
474+
The server provides clear error messages for common scenarios:
475+
- Directory not found
476+
- Access denied (outside base directory)
477+
- Invalid patterns
478+
- File size limits exceeded
479+
- Restricted file types
480+
- Missing environment variables for semantic search

0 commit comments

Comments
 (0)