snippet-preview.rb tool