Skip to content
This repository
Newer
Older
100644 4 lines (4 sloc) 0.294 kb
6c287d0b » Jakub Nesetril
2011-02-08 Quick ruby script fo generating COMMANDS.txt out of CLI.md
1 # needs sudo gem install nokogiri bluecloth
2 %w[rubygems bluecloth nokogiri].each { |x| require x }
3 text = Nokogiri::HTML(BlueCloth.new(File.open('cli-distro/doc/CLI.md', 'rb').read).to_html).text
4 File.open('cli/src/main/resources/com/gooddata/processor/COMMANDS.txt','w') { |f| f.write(text) }
Something went wrong with that request. Please try again.