Files
linguist/script/list-grammars
2018-04-13 22:54:18 +10:00

11 lines
168 B
Ruby
Executable File

#!/usr/bin/env ruby
require_relative "./helpers/grammar_list"
list = GrammarList.new
if ARGV.include? "--print"
puts list.to_markdown
else
list.update_readme
end