Sha256: bc7fbcb6b1f7e5203f9294afbd86a2d25862b3dd9843c89872ebf4aef5bd51c3

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

#!/usr/bin/env ruby

require 'qwtf_discord_bot'
require "thor"

class QwtfDiscordBot < Thor
  def self.exit_on_failure?
    true
  end
  
  desc "server", "Runs the qwtf-discord-bot server"
  def server
    QwtfDiscordBot::Server.run
  end

  desc "watcher", "Runs the qwtf-discord-bot watcher"
  def watcher
    QwtfDiscordBot::Watcher.run
  end
end

QwtfDiscordBot.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qwtf_discord_bot-0.3.3 lib/qwtf_discord_bot/cli.rb
qwtf_discord_bot-0.3.2 lib/qwtf_discord_bot/cli.rb
qwtf_discord_bot-0.3.1 lib/qwtf_discord_bot/cli.rb
qwtf_discord_bot-0.3.0 lib/qwtf_discord_bot/cli.rb