mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
11 lines
168 B
Ruby
Executable File
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
|