Mercurial > repos > mvdbeek > printenv
comparison printenv.xml @ 3:6bcca3261112 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/printenv
author | mvdbeek |
---|---|
date | Fri, 12 Jan 2018 04:39:53 -0500 |
parents | 9d4a1f588ba6 |
children |
comparison
equal
deleted
inserted
replaced
2:9d4a1f588ba6 | 3:6bcca3261112 |
---|---|
1 <tool id="printenv" name="printenv" version="1.0.1"> | 1 <tool id="printenv" name="printenv" version="1.0.1"> |
2 <command><![CDATA[sleep "$sleep_seconds"s && printenv > "$output"]]></command> | 2 <command detect_errors="exit_code"><![CDATA[ |
3 #if $failbool: | |
4 exit 127 | |
5 #else: | |
6 sleep "$sleep_seconds"s && printenv > "$output" | |
7 #end if | |
8 ]]></command> | |
3 <inputs> | 9 <inputs> |
10 <param name="failbool" type="boolean" checked="False" label="Select to make the tool fail"/> | |
4 <param name="sleep_seconds" type="integer" value="1" label="seconds to sleep"/> | 11 <param name="sleep_seconds" type="integer" value="1" label="seconds to sleep"/> |
5 </inputs> | 12 </inputs> |
6 <outputs> | 13 <outputs> |
7 <data format="txt" name="output"> | 14 <data format="txt" name="output"> |
8 </data> | 15 </data> |