forked from OpenVoxProject/openbolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbolt_cmdlet_reference.md.erb
More file actions
43 lines (33 loc) · 1022 Bytes
/
bolt_cmdlet_reference.md.erb
File metadata and controls
43 lines (33 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# PowerShell cmdlets
To use the PuppetBolt PowerShell module, see the [installation
documentation](bolt_installing.md#puppetbolt-powershell-module).
## Cmdlet syntax
Bolt PowerShell cmdlets follow a verb-noun convention.
To view a full list of available cmdlets, use the `Get-Command` cmdlet:
```shell
Get-Command -Module PuppetBolt
```
## Cmdlets
These PowerShell cmdlets are available in the Bolt PowerShell module.
<% @commands.each do |command| %>
### <%= command[:cmdlet] %>
<%= command[:description] %>
<table class="table">
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th align="center">Mandatory?</th>
</tr>
</thead>
<tbody>
<% command[:options].each do |option| -%>
<tr>
<td><code>-<%= option[:name] -%><%= option[:arg] %></code></td>
<td><%= option[:help_msg].gsub("<", "<").split("\n").join('<p>')%></td>
<td align="center"><%= option[:mandatory] ? '✓' : '' %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>