Class: Gemoji::CLI::Commands::List

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/gemoji/cli/commands/list.rb

Overview

List command

Instance Method Summary collapse

Instance Method Details

#call(**options) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/gemoji/cli/commands/list.rb', line 18

def call(**options)
  case options[:format] # rubocop:disable Style/MissingElse
  when "markdown"
    list_markdown
  when "csv"
    list_csv
  end
end