class Sfctl::Commands::Time

Public Instance Methods

init(*) click to toggle source
# File lib/sfctl/commands/time.rb, line 38
def init(*)
  if options[:help]
    invoke :help, ['init']
  else
    require_relative 'time/init'
    Sfctl::Commands::Time::Init.new(options).execute
  end
end
sync(*) click to toggle source
# File lib/sfctl/commands/time.rb, line 21
def sync(*)
  if options[:help]
    invoke :help, ['sync']
  else
    require_relative 'time/sync'
    Sfctl::Commands::Time::Sync.new(options).execute
  end
end