Created
November 6, 2013 14:36
-
-
Save jpadams/7337028 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata :name => "windowsrun", | |
| :description => "Run command a windows server", | |
| :author => "Andreas Zuber <[email protected]>", | |
| :license => "GPLv2", | |
| :version => "0.1", | |
| :url => "www.news.com", | |
| :timeout => 60 | |
| action "run", :description => "Runs a command windows" do | |
| display :always | |
| input :name, | |
| :prompt => "Your First Name", | |
| #:description => "Name and full path of the script we want to run", | |
| :type => :string, | |
| :validation => '^.+$', | |
| :optional => false, | |
| :maxlength => 25 | |
| input :birthmonth, | |
| :prompt => "Your Birth Month in Numbers (MM)", | |
| #:description => "Name and full path of the script we want to run", | |
| :type => :string, | |
| :validation => '^.+$', | |
| :optional => false, | |
| :maxlength => 2 | |
| input :birthday, | |
| :prompt => "Your Birth Day (DD)", | |
| #:description => "Name and full path of the script we want to run", | |
| :type => :string, | |
| :validation => '^.+$', | |
| :optional => false, | |
| :maxlength => 2 | |
| output :status, | |
| :description => "The exit code of the script", | |
| :display_as => "Return Value" | |
| output :out, | |
| :description => "The Output of the script on stdout", | |
| :display_as => "Output Channel" | |
| output :err, | |
| :description => "The Output of the script on stderr", | |
| :display_as => "Error Channel" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment