Class: Organo::CLI::Commands::Anime::RemoveEntry

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/organo/commands/anime/anime_remove.rb

Instance Method Summary collapse

Instance Method Details

#call(mal_id:) ⇒ Object



13
14
15
16
# File 'lib/organo/commands/anime/anime_remove.rb', line 13

def call(mal_id:, **)
  anime = AnimeDatabase.instance.anime_remove(mal_id)
  puts anime unless anime.nil?
end