Run an executable service
After you create an executable service, you can run it to execute your script or application. You can also pass runtime arguments to customize each execution.
Run an executable service
Use the iagctl run service executable command to execute an executable service.
Syntax:
Example:
This command executes the service using the configuration you defined when you created it.
Run an executable service with arguments
You can pass runtime arguments to your script when you run the service. IAG formats these arguments according to the --arg-format you specified when you created the service.
Syntax:
Example:
If you configured the service with --arg-format "{{.Key}} {{.Value}}", IAG passes these arguments to your script as:
If you configured the service with --arg-format "{{.Key}}={{.Value}}", IAG passes these arguments to your script as: