Class: Zephira::Commands::About

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

Class Method Summary collapse

Class Method Details

.descriptionObject



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

def description
  "Display information about the agent"
end

.nameObject



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

def name
  "about"
end

.run(agent:, args:) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/zephira/commands/about.rb', line 15

def run(agent:, args:)
  puts [
    "Zephira: A toy coding agent",
    "  Version: #{::Zephira::VERSION}",
    "  https://github.com/aarongough/zephira",
    "",
    "Released under the MIT license."
  ].join("\n")
end