def get_badge(subject, status, color = 'blue', options = {})
      st = status.gsub(/-/, '--').gsub(/_/, '__')
      res = "https://img.shields.io/badge/#{subject}-#{st}-#{color}.svg"
      res += "?style=#{options[:style]}" if options[:style]
      res
    end
def get_badge(subject, status, color = 'blue', options = {})
      st = status.gsub(/-/, '--').gsub(/_/, '__')
      res = "https://img.shields.io/badge/#{subject}-#{st}-#{color}.svg"
      res += "?style=#{options[:style]}" if options[:style]
      res
    end
guess_project_config
 get_badge 
 Return a Markdown-formatted string for a badge to display, typically in a README.
 Based on http://shields.io/
 Supported options:
  * :style [string] style of the badge, Elligible: ['plastic', 'flat', 'flat-square']