class Pytty::Daemon::Cli::RootCommand

Public Class Methods

run() click to toggle source
Calls superclass method
# File lib/pytty/daemon/cli/root_command.rb, line 17
def self.run
  if ARGV.size == 0
    ServeCommand.run
  else
    super
  end
rescue StandardError => exc
  warn exc.message
  warn exc.backtrace.join("\n")
end