Class: Dri::Commands::Rm

Inherits:
Thor
  • Object
show all
Defined in:
lib/dri/commands/rm.rb,
lib/dri/commands/rm/emoji.rb,
lib/dri/commands/rm/profile.rb,
lib/dri/commands/rm/reports.rb

Defined Under Namespace

Classes: Emoji, Profile, Reports

Instance Method Summary collapse

Instance Method Details

#emojiObject



35
36
37
38
39
40
41
# File 'lib/dri/commands/rm.rb', line 35

def emoji(*)
  if options[:help]
    invoke :help, ['emoji']
  else
    Dri::Commands::Rm::Emoji.new(options).execute
  end
end

#profileObject



13
14
15
16
17
18
19
# File 'lib/dri/commands/rm.rb', line 13

def profile(*)
  if options[:help]
    invoke :help, ['profile']
  else
    Dri::Commands::Rm::Profile.new(options).execute
  end
end

#reportsObject



24
25
26
27
28
29
30
# File 'lib/dri/commands/rm.rb', line 24

def reports(*)
  if options[:help]
    invoke :help, ['reports']
  else
    Dri::Commands::Rm::Reports.new(options).execute
  end
end