Sha256: 237b41e14b3f4ae3112bb53bf8582e0144a8684e35acbff614ee9f4576f796a0
Contents?: true
Size: 858 Bytes
Versions: 2
Compression:
Stored size: 858 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/chromedriver_update' arg = ARGV[0] if %w[version -v --version].include?(arg) puts "#{ChromedriverUpdate::VERSION}" elsif arg.nil? || arg == '' || %w[force -f --force].include?(arg) force = %w[force -f --force].include?(arg) ChromedriverUpdate.auto_update_chromedriver force: force else puts <<-TEXT chromedriver_update #{ChromedriverUpdate::VERSION} https://github.com/magynhard/chromedriver_update chromedriver_update # automatically update the current chromedriver version fitting to the currently installed chrome chromedriver_update -f --force # force automatic update, even if the latest version is already installed chromedriver_update -h --help # show this info chromedriver_update -v --version # show the libraries current version TEXT end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chromedriver_update-0.2.2 | bin/chromedriver_update |
chromedriver_update-0.2.1 | bin/chromedriver_update |