class Maintainer::Commands::Pip::Install
Public Class Methods
command!()
click to toggle source
# File lib/maintainer_core/commands.rb, line 12 def command!() if OS.isLinix? return ['apt install python3-pip'] elsif OS.isMac? return ['brew install python', 'brew unlink python && brew link python'] elsif OS.isWindows? puts "Windows is not currently supported" end end
requires_sudo!()
click to toggle source
# File lib/maintainer_core/commands.rb, line 9 def requires_sudo!() return true end