mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
Added doco regarding values starting with hyphens
This commit is contained in:
@@ -327,7 +327,7 @@
|
||||
<pre><code>yaml n <path> <new value>
|
||||
</code></pre>
|
||||
|
||||
<h3 id="creating-a-simple-yaml-file">Creating a simple yaml file</h3>
|
||||
<h3 id="creating-a-simple-yaml-file">Creating a simple yaml file<a class="headerlink" href="#creating-a-simple-yaml-file" title="Permanent link">¶</a></h3>
|
||||
<pre><code class="bash">yaml n b.c cat
|
||||
</code></pre>
|
||||
|
||||
@@ -336,7 +336,7 @@
|
||||
c: cat
|
||||
</code></pre>
|
||||
|
||||
<h3 id="creating-using-a-create-script">Creating using a create script</h3>
|
||||
<h3 id="creating-using-a-create-script">Creating using a create script<a class="headerlink" href="#creating-using-a-create-script" title="Permanent link">¶</a></h3>
|
||||
<p>Create scripts follow the same format as the update scripts.</p>
|
||||
<p>Given a script create_instructions.yaml of:</p>
|
||||
<pre><code class="yaml">b.c: 3
|
||||
|
||||
Reference in New Issue
Block a user