Removed redundant code, updated doc w.r.t reading json files

This commit is contained in:
Mike Farah
2017-04-19 15:45:45 +10:00
parent c2000a446b
commit ec25886528
16 changed files with 114 additions and 113 deletions
+2 -1
View File
@@ -365,9 +365,10 @@
<h1>Write/Update</h1>
<pre><code>yaml w &lt;yaml file&gt; &lt;path&gt; &lt;new value&gt;
<pre><code>yaml w &lt;yaml_file|json_file&gt; &lt;path&gt; &lt;new value&gt;
</code></pre>
<p>This command can take a json file as input too, and will output yaml unless specified to export as json (-j)</p>
<h3 id="to-stdout">To Stdout</h3>
<p>Given a sample.yaml file of:</p>
<pre><code class="yaml">b: