Class: Sfctl::Commands::Account

Inherits:
Thor
  • Object
show all
Defined in:
lib/sfctl/commands/account.rb,
lib/sfctl/commands/account/info.rb,
lib/sfctl/commands/account/assignments.rb

Defined Under Namespace

Classes: Assignments, Info

Instance Method Summary collapse

Instance Method Details

#assignmentsObject



13
14
15
16
17
18
19
20
# File 'lib/sfctl/commands/account.rb', line 13

def assignments(*)
  if options[:help]
    invoke :help, ['assignments']
  else
    require_relative 'account/assignments'
    Sfctl::Commands::Account::Assignments.new(options).execute
  end
end

#infoObject



24
25
26
27
28
29
30
31
# File 'lib/sfctl/commands/account.rb', line 24

def info(*)
  if options[:help]
    invoke :help, ['info']
  else
    require_relative 'account/info'
    Sfctl::Commands::Account::Info.new(options).execute
  end
end