Class: Pifan::CLI
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/pifan/cli.rb', line 72 def run if params[:help] print help exit elsif params[:version] $stdout.puts Pifan::VERSION exit else params.to_h end end |