Method: OneCmd::Command.run

Defined in:
lib/onecmd/command.rb

.run(argv) ⇒ Object



20
21
22
23
24
25
# File 'lib/onecmd/command.rb', line 20

def self.run(argv)
  help! 'You cannot run onecmd as root.' if Process.uid == 0 && !Gem.win_platform?
  super(argv)
ensure
  # Pod::UI.print_warnings
end