Sha256: 9a3d1986135169e59aa3bdb113a61c7d1da12c59967ff562ed050e92a050b802

Contents?: true

Size: 193 Bytes

Versions: 5

Compression:

Stored size: 193 Bytes

Contents

require_relative "../lib/whirly"
require "paint"

# Call a single spinner from the command-line

Whirly.start(spinner: $*[0], status: $*[2] || $*[0], color: false){ sleep(($*[1] || 10).to_i) }

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
whirly-0.3.0 examples/single.rb
murano-cli-whirly-0.2.7 examples/single.rb
whirly-0.2.6 examples/single.rb
whirly-0.2.5 examples/single.rb
whirly-0.2.4 examples/single.rb