reproman-execute

Synopsis

reproman-execute [--version] [-h]
               [-l {critical,error,warning,info,debug,1,2,3,4,5,6,7,8,9}]
               [-r RESOURCE] [--resref-type TYPE] [--internal] [--trace]
               COMMAND [ARGS [ARGS ...]]

Description

Execute a command in a computation environment

Examples

$ reproman execute mkdir /home/blah/data

Options

COMMAND

name of the command to run. Constraints: value must be a string

ARGS

list of positional and keyword args to pass to the command. Constraints: value must be a string

–version

show the program’s version and license information and exit

-h, –help, –help-np

show this help message and exit. –help-np forcefully disables the use of a pager for displaying the help message

-l {critical,error,warning,info,debug,1,2,3,4,5,6,7,8,9}, –log-level {critical,error,warning,info,debug,1,2,3,4,5,6,7,8,9}

level of verbosity. Integers provide even more debugging information

-r RESOURCE, –resource RESOURCE

Name or ID of the resource to operate on. To see available resources, run ‘reproman ls’. Constraints: value must be a string [Default: None]

–resref-type TYPE

A resource can be referenced by its name or ID. In the unlikely case that a name collides with an ID, explicitly specify ‘name’ or ‘id’ to disambiguate. Constraints: value must be one of (‘auto’, ‘name’, ‘id’) [Default: ‘auto’]

–internal

Instead of running a generic/any command, execute the internal ReproMan command available within sessions. Known are: mkdir, isdir, put, get, chown, chmod. [Default: False]

–trace

if set, trace execution within the environment. [Default: False]

Authors

reproman is developed by The ReproMan Team and Contributors <team@reproman.org>.