Code Review
/
packages
/
precise
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Change source structure according to OSCI-991
[packages/precise/mcollective.git]
/
mcollective-2.3.3
/
lib
/
mcollective
/
vendor
/
json
/
bin
/
edit_json.rb
1
#!/usr/bin/env ruby
2
require 'json/editor'
3
4
filename, encoding = ARGV
5
JSON::Editor.start(encoding) do |window|
6
if filename
7
window.file_open(filename)
8
end
9
end