Sha256: 40435da3c3fef287ea96b27af8731db2a902176f6a520fc0e49233b9dcc5dbb1

Contents?: true

Size: 1.11 KB

Versions: 36

Compression:

Stored size: 1.11 KB

Contents

RUDY_HOME = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))

group "Rudy CLI"
command :rudy, File.join(RUDY_HOME, 'bin', 'rudy')

dreams File.join(GYMNASIUM_HOME, '80_cli', '60_rudy_dreams.rb')
xtryout "rudy machines" do
  drill "no machines, no args", :machines
  ##drill "startup", :startup
end

xtryout "rudy myaddress" do
  drill       'no args',     :myaddress
  drill 'internal only',     :myaddress, :i
  drill 'external only',     :myaddress, :e
  drill         'quiet', :q, :myaddress
end


##dreams 'rudy myaddress' do
##  dream 'no args' do
##    output inline(%Q{
##  Internal: #{Rudy::Utils::internal_ip_address}
##  External: #{Rudy::Utils::external_ip_address}
##    })
##  end
##  dream 'internal only', "  Internal: #{Rudy::Utils::internal_ip_address}"
##  dream 'external only', "  External: #{Rudy::Utils::external_ip_address}"
##  dream 'quiet', [Rudy::Utils::internal_ip_address, Rudy::Utils::external_ip_address]
##end
## 
## 
##dreams 'rudy machines' do
##  dream 'no machines, no args' do
##    output inline(%Q{
##No machines running in stage-app
##Try: rudy machines --all
##    })
##  end
##end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 tryouts/80_cli/60_rudy_tryouts.rb
solutious-rudy-0.9.1 tryouts/80_cli/60_rudy_tryouts.rb
solutious-rudy-0.9.2 tryouts/80_cli/60_rudy_tryouts.rb
solutious-rudy-0.9.3 tryouts/80_cli/60_rudy_tryouts.rb
solutious-rudy-0.9.4 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.020 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.019 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.018 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.017 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.016 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.015 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.014 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.013 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.012 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.011 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.010 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.009 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.008 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.007 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.006 tryouts/80_cli/60_rudy_tryouts.rb