Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 23 additions & 15 deletions docs/workflows/core/line-and-result-limiting.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dotnet-inspect System.Text.Json -n 4

```expect
# System.Text.Json.dll
Name: System.Text.Json
## Library Info
```

```query
Expand Down Expand Up @@ -92,12 +92,13 @@ Show me just 3 types from System.Text.Json.
```

```bash
dotnet-inspect type System.Text.Json -t 3 -v:q
dotnet-inspect type System.Text.Json -t 3 --tips q
```

```expect
Types: 80
and 77 more types
Types:
JsonNamingPolicy
JsonCommentHandling
```

```expect-not
Expand All @@ -111,15 +112,16 @@ Tips:
### 3a. Using `type -t pattern`

```bash
dotnet-inspect type System.Text.Json -t "Json*" -v:q
dotnet-inspect type System.Text.Json -t "Json*" --tips q
```

```expect
# System.Text.Json
JsonSerializer
```

```expect-not
and 77 more types
SortedSet
Tips:
```

Expand All @@ -130,15 +132,20 @@ Tips:
### 4a. Using `find -t N`

```bash
dotnet-inspect find "Chat*" -t 3 -v:q
dotnet-inspect find "Json*" -t 3 -v:q
```

```expect
Showing: 3
# Find: Json*
JsonContent
```

```query
grep -c '|' | head -1
grep -c '^| Json'
```

```expect
3
```

```expect-not
Expand All @@ -157,7 +164,8 @@ dotnet-inspect member System.Text.Json JsonSerializer -m 3

```expect
# System.Text.Json.JsonSerializer
more members
IsReflectionEnabledByDefault
Deserialize
```

```expect-not
Expand All @@ -171,7 +179,7 @@ Tips:
### 6a. Using positional member name

```bash
dotnet-inspect member System.Text.Json JsonSerializer Deserialize
dotnet-inspect member System.Text.Json JsonSerializer Deserialize --tips q
```

```expect
Expand All @@ -180,7 +188,7 @@ Deserialize
```

```expect-not
Serialize
| Serialize |
Tips:
```

Expand All @@ -195,9 +203,9 @@ dotnet-inspect System.CommandLine --versions 3
```

```expect
2.0.3
2.0.2
2.0.1
2.0.8
2.0.7
2.0.6
```

```query
Expand Down
7 changes: 1 addition & 6 deletions docs/workflows/core/section-discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ dotnet-inspect library --package System.Collections -S
```expect
Library Info
Custom Attributes
```

```expect-not
Resources
Type Forwarders
```
Expand Down Expand Up @@ -144,7 +141,7 @@ dotnet-inspect library --package System.Collections -S "Library Info"

```expect
## Library Info
| Property | Value |
| Field | Value |
```

```expect-not
Expand Down Expand Up @@ -182,7 +179,6 @@ dotnet-inspect member JsonSerializer --platform System.Text.Json -D Methods
```

```expect
Methods
Name
Signature
```
Expand All @@ -192,6 +188,5 @@ dotnet-inspect member JsonSerializer --platform System.Text.Json -D Methods --sc
```

```expect
Methods
Obsolete
```
10 changes: 5 additions & 5 deletions docs/workflows/core/version-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dotnet-inspect System.CommandLine --version
```

```expect
2.0.3
2.0.8
```

```query
Expand All @@ -88,7 +88,7 @@ dotnet-inspect System.CommandLine --latest-version
```

```expect
2.0.3
2.0.8
```

```query
Expand All @@ -102,7 +102,7 @@ dotnet-inspect System.CommandLine@latest --version
```

```expect
2.0.3
2.0.8
```

```query
Expand Down Expand Up @@ -134,8 +134,8 @@ dotnet-inspect System.CommandLine --versions
```

```expect
2.0.3
2.0.2
2.0.8
2.0.7
```

```query
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/getting-started/verbosity-and-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dotnet-inspect System.CommandLine

```expect
# System.CommandLine
Version: 2.0.2
Version: 2.0.8
## Package
| Field | Value |
```
Expand Down Expand Up @@ -105,7 +105,7 @@ dotnet-inspect System.CommandLine -v:q

```expect
# System.CommandLine
Version: 2.0.2
Version: 2.0.8
```

```expect-not
Expand Down
8 changes: 4 additions & 4 deletions docs/workflows/perf/perf-version-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dotnet-inspect System.CommandLine --latest-version
```

```expect
2.0.3
2.0.8
```

```perf
Expand All @@ -88,8 +88,8 @@ dotnet-inspect System.CommandLine --versions
```

```expect
2.0.3
2.0.2
2.0.8
2.0.7
```

```perf
Expand All @@ -109,7 +109,7 @@ dotnet-inspect System.CommandLine@latest --version
```

```expect
2.0.3
2.0.8
```

```perf
Expand Down
Loading