Sha256: 88fbc66389c068ce2b43e98c7d952b8bc9ecc9af28f37c703015830a47177edb
Contents?: true
Size: 616 Bytes
Versions: 6
Compression:
Stored size: 616 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'gli' require_relative '../lib/slack_messaging' include GLI::App program_desc 'Slack Messaging' version SlackMessaging::VERSION wrap_help_text :verbatim flag [:config], :desc => 'SlackMessaging config file path', :default_value => SlackMessaging::DefaultPaths.config program_long_desc """ DOCUMENTATION """ commands_from File.expand_path(File.dirname(__FILE__) + '/../lib/slack_messaging/commands') pre do |global,command,options,args| SlackMessaging::Config.load(global[:config]) SlackMessaging::Config.set_config_options(global) true end exit run(ARGV)
Version data entries
6 entries across 6 versions & 1 rubygems