Class: Zephira::Commands::Bye

Inherits:
Object
  • Object
show all
Defined in:
lib/zephira/commands/bye.rb

Class Method Summary collapse

Class Method Details

.descriptionObject



11
12
13
# File 'lib/zephira/commands/bye.rb', line 11

def description
  "End the session and close the agent"
end

.nameObject



7
8
9
# File 'lib/zephira/commands/bye.rb', line 7

def name
  "bye"
end

.run(agent:, args:) ⇒ Object



15
16
17
18
# File 'lib/zephira/commands/bye.rb', line 15

def run(agent:, args:)
  puts "Bye!"
  exit(0)
end