Skip to content

Instantly share code, notes, and snippets.

@arches
arches / squirt
Last active October 13, 2016 15:22 — forked from foozmeat/squirt
squirt: upload a file to a slack channel from the cli
#!/usr/bin/env ruby
require 'json'
require 'shellwords'
if ARGV.length < 3 then
puts "Usage: squirt <filename> <channel> <comment>"
exit
end