~/.config-test # .config-test # please fill in fields # # name: your-name # mail: asdf@jkl.com # name: shokai mail: asdf@jkl.com ~/.config-yamlãèªããç¡ããã°ãã³ãã¬ã¼ããä½ã require 'yaml' @@template = <<EOF # .config-test # please fill in fields # # name: your-name # mail: asdf@jkl.com # name: mail: EOF home = ENV['HOME'] || ENV['USERPROFILE'] || ENV['HOMEPATH'] begin config = YAML::load open(home + "/.config
{{#tags}}- {{label}}
{{/tags}}