yaml_command 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/man/yaml.1.ronn ADDED
@@ -0,0 +1,51 @@
1
+ yaml(1) - yaml command
2
+ ======================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `yaml [command] [options] [arguments]`
7
+
8
+
9
+ ## DESCRIPTION
10
+
11
+ The yaml command is a command line tool for working wiuth YAML files.
12
+
13
+
14
+ ## COMMAND
15
+
16
+ The following are the various subcommands currently supported by the yaml command:
17
+
18
+ * `get <YPATH>`
19
+ The `get` command simply extracts a portion of a YAML file and outputs
20
+ it to stdout.
21
+
22
+ * `set <YPATH> <VALUE>`
23
+ The `set` commnd is the opposite of `get` in that it lets you change
24
+ a portion of a YAML file. By defult the changed YAML document will go
25
+ to stdout, using the `-s/--save` option rewrites the file with the change.
26
+
27
+ * `sort`
28
+ The `sort` command can be used to sort portions of a YAML document.
29
+
30
+ * `slurp <DIR>`
31
+ The `slurp` command takes a directory and converts it's contents into a YAML file.
32
+
33
+ * `splat <DIR>`
34
+ The `splat` command take a YAML file and converts it into a file directory structure.
35
+ It is essentially the opposite of slurp.
36
+
37
+ * `edit`
38
+ The `edit` command will open a YAML file for editing in the default editor
39
+ (as defined by $EDITOR), and allow you to edit it.
40
+
41
+ If instead you edit a directory, then the directory will be automatically
42
+ slurped into a temporary file. After editing the temporary file will be
43
+ splatted back out to update the directory and it's files.
44
+
45
+ * `view`
46
+ The `view` command prints a colorized rendering of the YAML file.
47
+
48
+
49
+ ## SEE ALSO
50
+
51
+ yaml-get(1), yaml-set(1), yaml-sort(1), yaml-slurp(1), yaml-splat(1), yaml-edit(1), yaml-view(1)
metadata ADDED
@@ -0,0 +1,151 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yaml_command
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Thomas Sawyer
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ansi
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: executable
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: detroit
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: qed
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: YAML Command provides a command line interface to teasing apart and reconstructing
79
+ YAML files.
80
+ email:
81
+ - transfire@gmail.com
82
+ executables:
83
+ - yaml
84
+ extensions: []
85
+ extra_rdoc_files:
86
+ - LICENSE.txt
87
+ - HISTORY.md
88
+ - README.md
89
+ files:
90
+ - .index
91
+ - bin/yaml
92
+ - lib/yaml_command/base.rb
93
+ - lib/yaml_command/edit.rb
94
+ - lib/yaml_command/get.rb
95
+ - lib/yaml_command/set.rb
96
+ - lib/yaml_command/slurp.rb
97
+ - lib/yaml_command/sort.rb
98
+ - lib/yaml_command/splat.rb
99
+ - lib/yaml_command/view.rb
100
+ - lib/yaml_command.rb
101
+ - lib/yaml_command.yml
102
+ - man/yaml-edit.1
103
+ - man/yaml-edit.1.html
104
+ - man/yaml-edit.1.ronn
105
+ - man/yaml-get.1
106
+ - man/yaml-get.1.html
107
+ - man/yaml-get.1.ronn
108
+ - man/yaml-set.1
109
+ - man/yaml-set.1.html
110
+ - man/yaml-set.1.ronn
111
+ - man/yaml-slurp.1
112
+ - man/yaml-slurp.1.html
113
+ - man/yaml-slurp.1.ronn
114
+ - man/yaml-splat.1
115
+ - man/yaml-splat.1.html
116
+ - man/yaml-splat.1.ronn
117
+ - man/yaml-view.1
118
+ - man/yaml-view.1.html
119
+ - man/yaml-view.1.ronn
120
+ - man/yaml.1
121
+ - man/yaml.1.html
122
+ - man/yaml.1.ronn
123
+ - HISTORY.md
124
+ - README.md
125
+ - LICENSE.txt
126
+ homepage: http://rubyworks.github.com/yaml_command
127
+ licenses:
128
+ - BSD-2-Clause
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubyforge_project:
147
+ rubygems_version: 1.8.23
148
+ signing_key:
149
+ specification_version: 3
150
+ summary: Command-line access to YAML files.
151
+ test_files: []