Class: Mcpeasy::SlackCommands

Inherits:
Slack::CLI show all
Defined in:
lib/mcpeasy/cli.rb

Instance Method Summary collapse

Methods inherited from Slack::CLI

#list, #post, #test

Instance Method Details

#channelsObject



82
83
84
# File 'lib/mcpeasy/cli.rb', line 82

def channels
  list
end

#mcpObject



69
70
71
72
# File 'lib/mcpeasy/cli.rb', line 69

def mcp
  require_relative "../utilities/slack/mcp"
  Slack::MCPServer.new.run
end

#set_bot_token(token) ⇒ Object



75
76
77
78
# File 'lib/mcpeasy/cli.rb', line 75

def set_bot_token(token)
  Config.save_slack_bot_token(token)
  puts "✅ Slack bot token saved successfully"
end