Method: Expire::CLI#remove

Defined in:
lib/expire/cli.rb

#remove(path) ⇒ Object



61
62
63
64
65
66
67
68
# File 'lib/expire/cli.rb', line 61

def remove(path)
  if options[:help]
    invoke :help, ["remove"]
  else
    require_relative "commands/remove"
    Expire::Commands::Remove.new(path: path).execute
  end
end