Skip to content

Commit

Permalink
deploy: 8bd411d
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Jan 13, 2024
1 parent 8ce5790 commit 91c2e7c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions man/en/chapter_32.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ <h3 id="recipe-attributes"><a class="header" href="#recipe-attributes">Recipe At
<p>Recipes may be annotated with attributes that change their behavior.</p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody>
<tr><td><code>[confirm]</code><sup>1.17.0</sup></td><td>Require confirmation prior to executing recipe.</td></tr>
<tr><td><code>[confirm(&quot;prompt&quot;)]</code><sup>master</sup></td><td>Require confirmation prior to executing recipe with a custom prompt.</td></tr>
<tr><td><code>[linux]</code><sup>1.8.0</sup></td><td>Enable recipe on Linux.</td></tr>
<tr><td><code>[macos]</code><sup>1.8.0</sup></td><td>Enable recipe on MacOS.</td></tr>
<tr><td><code>[no-cd]</code><sup>1.9.0</sup></td><td>Don’t change directory before executing recipe.</td></tr>
Expand Down Expand Up @@ -247,6 +248,12 @@ <h4 id="requiring-confirmation-for-recipes1170"><a class="header" href="#requiri
delete all:
rm -rf *
</code></pre>
<h4 id="custom-confirmation-promptmaster"><a class="header" href="#custom-confirmation-promptmaster">Custom Confirmation Prompt<sup>master</sup></a></h4>
<p>The default confirmation prompt can be overridden with <code>[confirm(PROMPT)]</code>:</p>
<pre><code class="language-just">[confirm(&quot;Are you sure you want to delete everything?&quot;)]
delete-everything:
rm -rf *
</code></pre>

</main>

Expand Down
7 changes: 7 additions & 0 deletions man/en/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ <h5 id="xdg-directories"><a class="header" href="#xdg-directories">XDG Directori
<p>Recipes may be annotated with attributes that change their behavior.</p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody>
<tr><td><code>[confirm]</code><sup>1.17.0</sup></td><td>Require confirmation prior to executing recipe.</td></tr>
<tr><td><code>[confirm(&quot;prompt&quot;)]</code><sup>master</sup></td><td>Require confirmation prior to executing recipe with a custom prompt.</td></tr>
<tr><td><code>[linux]</code><sup>1.8.0</sup></td><td>Enable recipe on Linux.</td></tr>
<tr><td><code>[macos]</code><sup>1.8.0</sup></td><td>Enable recipe on MacOS.</td></tr>
<tr><td><code>[no-cd]</code><sup>1.9.0</sup></td><td>Don’t change directory before executing recipe.</td></tr>
Expand Down Expand Up @@ -1350,6 +1351,12 @@ <h4 id="requiring-confirmation-for-recipes1170"><a class="header" href="#requiri
delete all:
rm -rf *
</code></pre>
<h4 id="custom-confirmation-promptmaster"><a class="header" href="#custom-confirmation-promptmaster">Custom Confirmation Prompt<sup>master</sup></a></h4>
<p>The default confirmation prompt can be overridden with <code>[confirm(PROMPT)]</code>:</p>
<pre><code class="language-just">[confirm(&quot;Are you sure you want to delete everything?&quot;)]
delete-everything:
rm -rf *
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h3 id="command-evaluation-using-backticks"><a class="header" href="#command-evaluation-using-backticks">Command Evaluation Using Backticks</a></h3>
<p>Backticks can be used to store the result of commands:</p>
<pre><code class="language-just">localhost := `dumpinterfaces | cut -d: -f2 | sed 's/\/.*//' | sed 's/ //g'`
Expand Down
2 changes: 1 addition & 1 deletion man/en/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion man/en/searchindex.json

Large diffs are not rendered by default.

0 comments on commit 91c2e7c

Please sign in to comment.