Sha256: 36c574adc5b1407839562cc51d6162de606ce45f02213bc0f3aa4f3d1dca9252

Contents?: true

Size: 790 Bytes

Versions: 22

Compression:

Stored size: 790 Bytes

Contents

SELECT OBJECT TYPE
  NAME: select
  SHORTCUT: sel

  DESCRIPTION
    Prompt for user to select from a list of options.

  CHILDREN
    prompt - string - '> '
      The prompt displayed to the user.
    options - container
      The list of options for the selection list.
      The name of each option will be presented to the user, but
      the value will be put in the result.
    result - string - none
      The result with the user's selection.

  MESSAGES
    run - Prompt the user for a selection and then set the result.

  EXAMPLE

    select [select] :
    	prompt [string] : What is your favorite color?
      options [can] :
        red : r
        green : g
        blue : b
    	result [string] :
    	on_load [script] :
    		run select
    		show select.result

  SEE ALSO

Version data entries

22 entries across 22 versions & 2 rubygems

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