Sha256: b4e91c11b841c0862de1462240a0bd0703f614344ecbd56e1fd0ad906636f829
Contents?: true
Size: 853 Bytes
Versions: 3
Compression:
Stored size: 853 Bytes
Contents
# coding: utf-8 module CLISplash class Config < Thor include Splash::Config include Splash::Helpers include Splash::Exiter desc "setup", "Setup installation fo Splash" long_desc <<-LONGDESC Setup installation fo Splash with --preserve, preserve from reinstallation of the config LONGDESC option :preserve, :type => :boolean def setup acase = run_as_root :setupsplash splash_exit acase end desc "sanitycheck", "Verify installation fo Splash" def sanitycheck acase = run_as_root :checkconfig splash_exit acase end desc "version", "display current Splash version" def version config = get_config puts "Splash version : #{config.version}, Author : #{config.author}" puts config.copyright splash_exit case: :quiet_exit end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prometheus-splash-0.3.0 | lib/splash/cli/config.rb |
prometheus-splash-0.2.0 | lib/splash/cli/config.rb |
prometheus-splash-0.1.1 | lib/splash/cli/config.rb |