class XcodeArchiveCache::Command
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
# File lib/command/command.rb, line 22 def initialize(argv) super log_level = argv.option("log-level", "info") set_log_level(log_level) end
options()
click to toggle source
Calls superclass method
# File lib/command/command.rb, line 10 def self.options [ ["--log-level=[nothing|info|verbose]", "Level of log verbosity, defaults to info"] ].concat(super.reject { |(name, _)| name != "--help" }) end
run(argv)
click to toggle source
Calls superclass method
# File lib/command/command.rb, line 16 def self.run(argv) help! "You cannot run XcodeArchiveCache as root." if Process.uid == 0 && !Gem.win_platform? super(argv) end