Class: Strum::CLI
Overview
Command line interface
Instance Method Summary collapse
Instance Method Details
#console ⇒ Object
19 20 21 |
# File 'lib/strum/cli.rb', line 19 def console run "bundle exec rake #{File.expand_path('bin/console')}" end |
#server ⇒ Object
24 25 26 |
# File 'lib/strum/cli.rb', line 24 def server run File.("bin/strum") end |
#version ⇒ Object
32 33 34 35 |
# File 'lib/strum/cli.rb', line 32 def version require_relative "version" say "Strum #{Strum::VERSION}" end |