Skip to content

Instantly share code, notes, and snippets.

@demmer
Last active August 29, 2015 14:25
Show Gist options
  • Save demmer/1ae9d6df6931ca3d91a6 to your computer and use it in GitHub Desktop.
Save demmer/1ae9d6df6931ca3d91a6 to your computer and use it in GitHub Desktop.
Simple Input Controls
// Simple example of using input controls as parameters
input message: text -label 'Message to show' -default 'Testing...';
input num_points: dropdown -items [1,2,3,4,5,6,7,8] -label 'Number of points' -default 5;
emit -limit num_points
| put message="${message} ${count()}"
| @tile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment