Commit 4c13d1f
authored
🩹 [Patch]: Enhance documentation for functions (#37)
## Description
This pull request includes significant updates to the font management
functions in the PowerShell module, enhancing their functionality and
documentation. The key changes include improved descriptions, added
examples with outputs, and support for additional parameters.
### Enhancements to `Get-Font` function:
* Updated the description to clarify the retrieval of installed fonts
with support for filtering by font name using wildcards.
* Added example outputs to illustrate the function's usage and expected
results.
* Included detailed notes on the returned font object properties and a
link to the function's documentation.
### Enhancements to `Install-Font` function:
* Improved the description to include details on scope, force
installation, and batch installations via pipeline input.
* Added example outputs to demonstrate the function's behavior in
different scenarios, including single file and batch installations.
* Changed the `Scope` parameter type from `Scope[]` to `string` for
better clarity and usage.
* Included notes on the function's outputs and a link to the
documentation.
### Enhancements to `Uninstall-Font` function:
* Updated the description to include support for removing fonts for
either the current user or all users, with administrative privileges
required for the latter.
* Added example outputs to show the verbose logging during font
uninstallation.
* Included notes on the function's behavior and a link to the
documentation.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] 1 parent b746cb0 commit 4c13d1f
3 files changed
Lines changed: 159 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | | - | |
| 35 | + | |
20 | 36 | | |
21 | 37 | | |
22 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
23 | 46 | | |
24 | | - | |
| 47 | + | |
25 | 48 | | |
26 | 49 | | |
27 | | - | |
| 50 | + | |
28 | 51 | | |
29 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
30 | 60 | | |
31 | 61 | | |
32 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
33 | 73 | | |
34 | 74 | | |
35 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | | - | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
18 | 32 | | |
19 | | - | |
20 | | - | |
| 33 | + | |
| 34 | + | |
21 | 35 | | |
22 | 36 | | |
23 | | - | |
| 37 | + | |
24 | 38 | | |
25 | | - | |
26 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
28 | 46 | | |
29 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
30 | 53 | | |
31 | | - | |
32 | | - | |
| 54 | + | |
33 | 55 | | |
34 | 56 | | |
35 | | - | |
| 57 | + | |
36 | 58 | | |
37 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
38 | 68 | | |
39 | 69 | | |
40 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
41 | 79 | | |
42 | | - | |
43 | | - | |
| 80 | + | |
| 81 | + | |
44 | 82 | | |
45 | 83 | | |
46 | | - | |
| 84 | + | |
47 | 85 | | |
48 | | - | |
49 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
50 | 93 | | |
51 | | - | |
52 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
53 | 102 | | |
54 | | - | |
55 | | - | |
| 103 | + | |
| 104 | + | |
56 | 105 | | |
57 | 106 | | |
58 | 107 | | |
| |||
70 | 119 | | |
71 | 120 | | |
72 | 121 | | |
73 | | - | |
| 122 | + | |
74 | 123 | | |
75 | 124 | | |
76 | 125 | | |
77 | 126 | | |
78 | 127 | | |
79 | | - | |
| 128 | + | |
80 | 129 | | |
81 | 130 | | |
82 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | 3 | | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | | - | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | | - | |
| 35 | + | |
20 | 36 | | |
21 | 37 | | |
22 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
23 | 45 | | |
24 | 46 | | |
25 | 47 | | |
| |||
0 commit comments