1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

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

View File

@@ -379,9 +379,10 @@
<h1>Read</h1>
<pre><code>yaml r &lt;yaml file&gt; &lt;path&gt;
<pre><code>yaml r &lt;yaml_file|json_file&gt; &lt;path&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="basic">Basic</h3>
<p>Given a sample.yaml file of:</p>
<pre><code class="yaml">b: