Code Review
/
packages
/
trusty
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Added mcollective 2.3.1 package
[packages/trusty/mcollective.git]
/
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