Skip to content

Instantly share code, notes, and snippets.

@guerler
Created November 15, 2017 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guerler/1979ad03916b42aaf3fc4e2a0d608e81 to your computer and use it in GitHub Desktop.
Save guerler/1979ad03916b42aaf3fc4e2a0d608e81 to your computer and use it in GitHub Desktop.
<tool id="template" name="template" version="0.0.1">
<command/>
<inputs>
<conditional name="conditional">
<param name="test_parameter" type="select">
<option value="yes">Yes</option>
<option value="no">No</option>
</param>
<when value="yes">
<param name="a" type="data"/>
</when>
<when value="no">
<param name="b" type="data"/>
</when>
</conditional>
</inputs>
<outputs/>
</tool>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment