yaml_command 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.index +58 -0
- data/HISTORY.md +23 -0
- data/LICENSE.txt +27 -0
- data/README.md +94 -0
- data/bin/yaml +9 -0
- data/lib/yaml_command.rb +49 -0
- data/lib/yaml_command.yml +58 -0
- data/lib/yaml_command/base.rb +139 -0
- data/lib/yaml_command/edit.rb +42 -0
- data/lib/yaml_command/get.rb +30 -0
- data/lib/yaml_command/set.rb +36 -0
- data/lib/yaml_command/slurp.rb +52 -0
- data/lib/yaml_command/sort.rb +52 -0
- data/lib/yaml_command/splat.rb +130 -0
- data/lib/yaml_command/view.rb +49 -0
- data/man/yaml-edit.1 +24 -0
- data/man/yaml-edit.1.html +107 -0
- data/man/yaml-edit.1.ronn +26 -0
- data/man/yaml-get.1 +30 -0
- data/man/yaml-get.1.html +109 -0
- data/man/yaml-get.1.ronn +30 -0
- data/man/yaml-set.1 +30 -0
- data/man/yaml-set.1.html +109 -0
- data/man/yaml-set.1.ronn +30 -0
- data/man/yaml-slurp.1 +30 -0
- data/man/yaml-slurp.1.html +109 -0
- data/man/yaml-slurp.1.ronn +30 -0
- data/man/yaml-splat.1 +30 -0
- data/man/yaml-splat.1.html +110 -0
- data/man/yaml-splat.1.ronn +31 -0
- data/man/yaml-view.1 +24 -0
- data/man/yaml-view.1.html +105 -0
- data/man/yaml-view.1.ronn +24 -0
- data/man/yaml.1 +45 -0
- data/man/yaml.1.html +126 -0
- data/man/yaml.1.ronn +51 -0
- metadata +151 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
yaml-edit(1) - yaml edit command
|
2
|
+
================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`yaml edit [options] [path]`
|
7
|
+
|
8
|
+
|
9
|
+
## DESCRIPTION
|
10
|
+
|
11
|
+
Edit a YAML file using the standard editor (via $EDITOR). If a directory
|
12
|
+
path is given then splurp the directory, edit the result and when saved
|
13
|
+
splat the result back to the directory.
|
14
|
+
|
15
|
+
|
16
|
+
## OPTIONS
|
17
|
+
|
18
|
+
The following options are available to the edit command.
|
19
|
+
|
20
|
+
* `-F`/`--file` <PATH>
|
21
|
+
The YAML file to query, if not by stdin.
|
22
|
+
|
23
|
+
|
24
|
+
## SEE ALSO
|
25
|
+
|
26
|
+
yaml(1), yaml-set(1), yaml-sort(1), yaml-slurp(1), yaml-splurp(1), yaml-splat(1), yaml-view(1)
|
data/man/yaml-get.1
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "YAML\-GET" "1" "December 2012" "YAML.ORG" "YAML COMMAND"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fByaml\-get\fR \- yaml get command
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fByaml get [options] [ypath]\fR
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Extract values from a YAML document given a YPath\.
|
14
|
+
.
|
15
|
+
.SH "OPTIONS"
|
16
|
+
The following options are available to the get command\.
|
17
|
+
.
|
18
|
+
.IP "\(bu" 4
|
19
|
+
\fB\-F\fR/\fB\-\-file\fR \fIPATH\fR The YAML file to query, if not by stdin\.
|
20
|
+
.
|
21
|
+
.IP "\(bu" 4
|
22
|
+
\fB\-y\fR/\fB\-\-yaml\fR Produce output in YAML format\.
|
23
|
+
.
|
24
|
+
.IP "\(bu" 4
|
25
|
+
\fB\-j\fR/\fB\-\-json\fR Produce output in JSON format\.
|
26
|
+
.
|
27
|
+
.IP "" 0
|
28
|
+
.
|
29
|
+
.SH "SEE ALSO"
|
30
|
+
yaml(1), yaml\-set(1), yaml\-sort(1), yaml\-slurp(1), yaml\-splat(1), yaml\-edit(1), yaml\-view(1)
|
data/man/yaml-get.1.html
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
+
<title>yaml-get(1) - yaml get command</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#OPTIONS">OPTIONS</a>
|
60
|
+
<a href="#SEE-ALSO">SEE ALSO</a>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<ol class='man-decor man-head man head'>
|
64
|
+
<li class='tl'>yaml-get(1)</li>
|
65
|
+
<li class='tc'>YAML COMMAND</li>
|
66
|
+
<li class='tr'>yaml-get(1)</li>
|
67
|
+
</ol>
|
68
|
+
|
69
|
+
<h2 id="NAME">NAME</h2>
|
70
|
+
<p class="man-name">
|
71
|
+
<code>yaml-get</code> - <span class="man-whatis">yaml get command</span>
|
72
|
+
</p>
|
73
|
+
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
|
76
|
+
<p><code>yaml get [options] [ypath]</code></p>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
|
80
|
+
<p>Extract values from a YAML document given a YPath.</p>
|
81
|
+
|
82
|
+
<h2 id="OPTIONS">OPTIONS</h2>
|
83
|
+
|
84
|
+
<p>The following options are available to the get command.</p>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
<li><p><code>-F</code>/<code>--file</code> <var>PATH</var>
|
88
|
+
The YAML file to query, if not by stdin.</p></li>
|
89
|
+
<li><p><code>-y</code>/<code>--yaml</code>
|
90
|
+
Produce output in YAML format.</p></li>
|
91
|
+
<li><p><code>-j</code>/<code>--json</code>
|
92
|
+
Produce output in JSON format.</p></li>
|
93
|
+
</ul>
|
94
|
+
|
95
|
+
|
96
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
97
|
+
|
98
|
+
<p><a class="man-ref" href="yaml.1.html">yaml<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-set.1.html">yaml-set<span class="s">(1)</span></a>, <span class="man-ref">yaml-sort<span class="s">(1)</span></span>, <a class="man-ref" href="yaml-slurp.1.html">yaml-slurp<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-splat.1.html">yaml-splat<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-edit.1.html">yaml-edit<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-view.1.html">yaml-view<span class="s">(1)</span></a></p>
|
99
|
+
|
100
|
+
|
101
|
+
<ol class='man-decor man-foot man foot'>
|
102
|
+
<li class='tl'>YAML.ORG</li>
|
103
|
+
<li class='tc'>December 2012</li>
|
104
|
+
<li class='tr'>yaml-get(1)</li>
|
105
|
+
</ol>
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</body>
|
109
|
+
</html>
|
data/man/yaml-get.1.ronn
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
yaml-get(1) - yaml get command
|
2
|
+
==============================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`yaml get [options] [ypath]`
|
7
|
+
|
8
|
+
|
9
|
+
## DESCRIPTION
|
10
|
+
|
11
|
+
Extract values from a YAML document given a YPath.
|
12
|
+
|
13
|
+
|
14
|
+
## OPTIONS
|
15
|
+
|
16
|
+
The following options are available to the get command.
|
17
|
+
|
18
|
+
* `-F`/`--file` <PATH>
|
19
|
+
The YAML file to query, if not by stdin.
|
20
|
+
|
21
|
+
* `-y`/`--yaml`
|
22
|
+
Produce output in YAML format.
|
23
|
+
|
24
|
+
* `-j`/`--json`
|
25
|
+
Produce output in JSON format.
|
26
|
+
|
27
|
+
|
28
|
+
## SEE ALSO
|
29
|
+
|
30
|
+
yaml(1), yaml-set(1), yaml-sort(1), yaml-slurp(1), yaml-splat(1), yaml-edit(1), yaml-view(1)
|
data/man/yaml-set.1
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "YAML\-SET" "1" "December 2012" "YAML.ORG" "YAML COMMAND"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fByaml\-set\fR \- yaml get command
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fByaml set [options] [ypath] [value]\fR
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Change values fin YAML document given a YPath and replacement value\.
|
14
|
+
.
|
15
|
+
.SH "OPTIONS"
|
16
|
+
The following options are available to the set command\.
|
17
|
+
.
|
18
|
+
.IP "\(bu" 4
|
19
|
+
\fB\-F\fR/\fB\-\-file\fR \fIPATH\fR The YAML file to adjust, if not by stdin\.
|
20
|
+
.
|
21
|
+
.IP "\(bu" 4
|
22
|
+
\fB\-y\fR/\fB\-\-yaml\fR Produce output in YAML format\.
|
23
|
+
.
|
24
|
+
.IP "\(bu" 4
|
25
|
+
\fB\-j\fR/\fB\-\-json\fR Produce output in JSON format\.
|
26
|
+
.
|
27
|
+
.IP "" 0
|
28
|
+
.
|
29
|
+
.SH "SEE ALSO"
|
30
|
+
yaml(1), yaml\-get(1), yaml\-sort(1), yaml\-slurp(1), yaml\-splat(1), yaml\-edit(1), yaml\-view(1)
|
data/man/yaml-set.1.html
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
+
<title>yaml-set(1) - yaml get command</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#OPTIONS">OPTIONS</a>
|
60
|
+
<a href="#SEE-ALSO">SEE ALSO</a>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<ol class='man-decor man-head man head'>
|
64
|
+
<li class='tl'>yaml-set(1)</li>
|
65
|
+
<li class='tc'>YAML COMMAND</li>
|
66
|
+
<li class='tr'>yaml-set(1)</li>
|
67
|
+
</ol>
|
68
|
+
|
69
|
+
<h2 id="NAME">NAME</h2>
|
70
|
+
<p class="man-name">
|
71
|
+
<code>yaml-set</code> - <span class="man-whatis">yaml get command</span>
|
72
|
+
</p>
|
73
|
+
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
|
76
|
+
<p><code>yaml set [options] [ypath] [value]</code></p>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
|
80
|
+
<p>Change values fin YAML document given a YPath and replacement value.</p>
|
81
|
+
|
82
|
+
<h2 id="OPTIONS">OPTIONS</h2>
|
83
|
+
|
84
|
+
<p>The following options are available to the set command.</p>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
<li><p><code>-F</code>/<code>--file</code> <var>PATH</var>
|
88
|
+
The YAML file to adjust, if not by stdin.</p></li>
|
89
|
+
<li><p><code>-y</code>/<code>--yaml</code>
|
90
|
+
Produce output in YAML format.</p></li>
|
91
|
+
<li><p><code>-j</code>/<code>--json</code>
|
92
|
+
Produce output in JSON format.</p></li>
|
93
|
+
</ul>
|
94
|
+
|
95
|
+
|
96
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
97
|
+
|
98
|
+
<p><a class="man-ref" href="yaml.1.html">yaml<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-get.1.html">yaml-get<span class="s">(1)</span></a>, <span class="man-ref">yaml-sort<span class="s">(1)</span></span>, <a class="man-ref" href="yaml-slurp.1.html">yaml-slurp<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-splat.1.html">yaml-splat<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-edit.1.html">yaml-edit<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-view.1.html">yaml-view<span class="s">(1)</span></a></p>
|
99
|
+
|
100
|
+
|
101
|
+
<ol class='man-decor man-foot man foot'>
|
102
|
+
<li class='tl'>YAML.ORG</li>
|
103
|
+
<li class='tc'>December 2012</li>
|
104
|
+
<li class='tr'>yaml-set(1)</li>
|
105
|
+
</ol>
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</body>
|
109
|
+
</html>
|
data/man/yaml-set.1.ronn
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
yaml-set(1) - yaml get command
|
2
|
+
==============================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`yaml set [options] [ypath] [value]`
|
7
|
+
|
8
|
+
|
9
|
+
## DESCRIPTION
|
10
|
+
|
11
|
+
Change values fin YAML document given a YPath and replacement value.
|
12
|
+
|
13
|
+
|
14
|
+
## OPTIONS
|
15
|
+
|
16
|
+
The following options are available to the set command.
|
17
|
+
|
18
|
+
* `-F`/`--file` <PATH>
|
19
|
+
The YAML file to adjust, if not by stdin.
|
20
|
+
|
21
|
+
* `-y`/`--yaml`
|
22
|
+
Produce output in YAML format.
|
23
|
+
|
24
|
+
* `-j`/`--json`
|
25
|
+
Produce output in JSON format.
|
26
|
+
|
27
|
+
|
28
|
+
## SEE ALSO
|
29
|
+
|
30
|
+
yaml(1), yaml-get(1), yaml-sort(1), yaml-slurp(1), yaml-splat(1), yaml-edit(1), yaml-view(1)
|
data/man/yaml-slurp.1
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "YAML\-SLURP" "1" "December 2012" "YAML.ORG" "YAML COMMAND"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fByaml\-slurp\fR \- yaml slurp command
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fByaml slurp [options] [dir]\fR
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Takes a directory and converts its contents into a single YAML document\.
|
14
|
+
.
|
15
|
+
.SH "OPTIONS"
|
16
|
+
The following options are available to the slurp command\.
|
17
|
+
.
|
18
|
+
.IP "\(bu" 4
|
19
|
+
\fB\-r\fR/\fB\-\-recurse\fR Recurisively include all subdirectories\.
|
20
|
+
.
|
21
|
+
.IP "\(bu" 4
|
22
|
+
\fB\-y\fR/\fB\-\-yaml\fR Produce output in YAML format\.
|
23
|
+
.
|
24
|
+
.IP "\(bu" 4
|
25
|
+
\fB\-j\fR/\fB\-\-json\fR Produce output in JSON format\.
|
26
|
+
.
|
27
|
+
.IP "" 0
|
28
|
+
.
|
29
|
+
.SH "SEE ALSO"
|
30
|
+
yaml(1), yaml\-get(1), yaml\-set(1), yaml\-sort(1), yaml\-splat(1), yaml\-edit(1), yaml\-view(1)
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
+
<title>yaml-slurp(1) - yaml slurp command</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#OPTIONS">OPTIONS</a>
|
60
|
+
<a href="#SEE-ALSO">SEE ALSO</a>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<ol class='man-decor man-head man head'>
|
64
|
+
<li class='tl'>yaml-slurp(1)</li>
|
65
|
+
<li class='tc'>YAML COMMAND</li>
|
66
|
+
<li class='tr'>yaml-slurp(1)</li>
|
67
|
+
</ol>
|
68
|
+
|
69
|
+
<h2 id="NAME">NAME</h2>
|
70
|
+
<p class="man-name">
|
71
|
+
<code>yaml-slurp</code> - <span class="man-whatis">yaml slurp command</span>
|
72
|
+
</p>
|
73
|
+
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
|
76
|
+
<p><code>yaml slurp [options] [dir]</code></p>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
|
80
|
+
<p>Takes a directory and converts its contents into a single YAML document.</p>
|
81
|
+
|
82
|
+
<h2 id="OPTIONS">OPTIONS</h2>
|
83
|
+
|
84
|
+
<p>The following options are available to the slurp command.</p>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
<li><p><code>-r</code>/<code>--recurse</code>
|
88
|
+
Recurisively include all subdirectories.</p></li>
|
89
|
+
<li><p><code>-y</code>/<code>--yaml</code>
|
90
|
+
Produce output in YAML format.</p></li>
|
91
|
+
<li><p><code>-j</code>/<code>--json</code>
|
92
|
+
Produce output in JSON format.</p></li>
|
93
|
+
</ul>
|
94
|
+
|
95
|
+
|
96
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
97
|
+
|
98
|
+
<p><a class="man-ref" href="yaml.1.html">yaml<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-get.1.html">yaml-get<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-set.1.html">yaml-set<span class="s">(1)</span></a>, <span class="man-ref">yaml-sort<span class="s">(1)</span></span>, <a class="man-ref" href="yaml-splat.1.html">yaml-splat<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-edit.1.html">yaml-edit<span class="s">(1)</span></a>, <a class="man-ref" href="yaml-view.1.html">yaml-view<span class="s">(1)</span></a></p>
|
99
|
+
|
100
|
+
|
101
|
+
<ol class='man-decor man-foot man foot'>
|
102
|
+
<li class='tl'>YAML.ORG</li>
|
103
|
+
<li class='tc'>December 2012</li>
|
104
|
+
<li class='tr'>yaml-slurp(1)</li>
|
105
|
+
</ol>
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</body>
|
109
|
+
</html>
|