Sha256: bd45f1c4f93953405c901ac1765453b975796b7a02ff2e8b95bf0702874e0a29
Contents?: true
Size: 303 Bytes
Versions: 15
Compression:
Stored size: 303 Bytes
Contents
#!/usr/bin/env ruby require 'learn_submit' # To prevent weird errors when random command line args are passed in KNOWN_COMMANDS = [] message = ARGV[0] ? ARGV.join(' ') : nil ARGV.map! do |arg| KNOWN_COMMANDS.include?(arg) ? arg : nil end.compact! LearnSubmit::Submission.create(message: message)
Version data entries
15 entries across 15 versions & 1 rubygems