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
rudy-0.9.8.005 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.004 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.003 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.002 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.8.001 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.7.001 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.6.001 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.5.004 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.5.003 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.5.002 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.5 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.4 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.3 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.2 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.0 tryouts/80_cli/60_rudy_tryouts.rb
rudy-0.9.1 tryouts/80_cli/60_rudy_tryouts.rb