# CommandLineScriptType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Specifies a command to be executed on an operating system command-line.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
macro | property ProvisioningScriptArgumentType | [0,-1] | Command-line macro.
executionMethod | property CommandLineExecutionMethod | [1,1] |
code | property string | [1,1] | Represents command with arguments.

- ### Items

  - #### macro

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Command-line macro. Any occurrence of the macro will be replaced in the command-line code. The order of arguments is not significant.

  - #### executionMethod

    Flags: RAM,runtime,AVals:2

    Multiplicity: [1,1]

  - #### code

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Represents command with arguments. Sequences starting with percent sign (%) will be replaced by the value of midPoint arguments to the command line script. E.g. for the code bash -c "echo %source ; echo %name" the %source and %name strings will be replaced by the value of midPoint arguments "source" for the path to the newly created report and "name" for the name of the same report file.