view 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
line wrap: on
line source

<tool id="printenv" name="printenv" version="1.0.1">
    <command detect_errors="exit_code"><![CDATA[
#if $failbool:
    exit 127
#else:
    sleep "$sleep_seconds"s && printenv > "$output"
#end if
]]></command>
    <inputs>
      <param name="failbool" type="boolean" checked="False" label="Select to make the tool fail"/>
      <param name="sleep_seconds" type="integer" value="1" label="seconds to sleep"/>
    </inputs>
    <outputs>
        <data format="txt" name="output">
        </data>
    </outputs>
    <help>
This tool prints the environment as seen by the galaxy user.
  </help>
</tool>