Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexandru Croitor
minicoin
Commits
d2baa52a
Commit
d2baa52a
authored
Mar 06, 2022
by
Volker Hilsheimer
Browse files
Remove unused utility script
parent
5f274519
Changes
1
Hide whitespace changes
Inline
Side-by-side
minicoin/util/get_yaml_value.rb
deleted
100644 → 0
View file @
5f274519
require
'yaml'
yaml
=
YAML
.
load
(
STDIN
.
read
)
exit
(
1
)
unless
yaml
if
ARGV
.
count
<
1
yaml
.
each
do
|
key
,
value
|
puts
key
end
else
value
=
yaml
[
ARGV
[
0
]]
unless
ARGV
[
1
]
==
"--raw"
if
value
.
is_a?
(
String
)
value
.
gsub!
(
"
\\
"
,
"
\\\\
"
)
value
.
gsub!
(
"
\"
"
,
"
\\\"
"
)
end
end
puts
value
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment