Sha256: ae6b1cb0b9c15ff06071da92168b8feba2abe35da8485945567aff7e2dea0d81

Contents?: true

Size: 811 Bytes

Versions: 16

Compression:

Stored size: 811 Bytes

Contents

BAR OBJECT TYPE
  NAME: bar
  SHORTCUT: bar

  DESCRIPTION
    CLI progress bar

  CHILDREN
    name - string
      The name of the progress bar.
    total - integer - 100
      The total for the bar.

  MESSAGES
    start - Start the bar.
    advance <amount> - Advance by the given amount.
    stop - Complete the bar.
    run <seconds> - Run for the given number of seconds
      and advance the bar so that it completes at the end
      of the time specified.

  EXAMPLE

    bar [can] :
      on_load [script] :
        tell bar.progress to start
        tell bar.progress to advance
        wait
        tell bar.progress to advance (30)
        wait
        tell bar.progress to advance (40)
        wait
        tell bar.progress to stop
      progress [bar] :
        name [string] : going

  SEE ALSO

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/objs/cli/bar.txt
gloo-1.0.0 lib/gloo/help/objs/cli/bar.txt
gloo-lang-1.0.1 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-1.0.0 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.11 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.10 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.9 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.8 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.7 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.6 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.5 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.4 lib/gloo_lang/help/objs/cli/bar.txt
gloo-lang-0.9.3 lib/gloo_lang/help/objs/cli/bar.txt
gloo-0.8.0 lib/gloo/help/objs/cli/bar.txt
gloo-0.7.7 lib/gloo/help/objs/cli/bar.txt
gloo-0.7.6 lib/gloo/help/objs/cli/bar.txt