Created
August 23, 2012 13:34
-
-
Save michaelcarruthers/3436648 to your computer and use it in GitHub Desktop.
Agent DDL
This file contains 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 => "Users Agent", | |
:description => "Agent to list users", | |
:author => "Michael Carruthers", | |
:license => "GPLv2", | |
:version => "0.0.1", | |
:url => 'homepage | |
:timeout => 20 | |
action "info", :description => "View user information" do | |
display :always | |
input :user, | |
:prompt => 'Username', | |
:description => 'User to lookup', | |
:type => :string, | |
:validation => '^[a-zA-Z\-_\d]+$', | |
:optional => false, | |
:maxlength => 20 | |
output :output, | |
:description => 'Output of user information', | |
:display_as => 'Output' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment