CS
SCALE.sdm
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage
Confidential information

Addon command-line arguments

Deprecated0.51.0
RemovalApril, 2025
References#5408
Impacts all add-ons with a backend part.

Whenever an addon with a backend part is executed on the worker, several arguments are passed to it.
A downside of this workflow is, that any changes to them require adjustments to the addon, meaning a breaking change to occur.

To be more flexible, all arguments are now deprecated and will be provided as environment variables from now on:

Command-line argumentEnvironment variable
stdinADDON_INPUT_PARAMETERS
--infonot implemented, see below
--baseurlTASK_API_URL
--job-tokenTASK_TOKEN
--outputADDON_OUTPUT_PATH
--inputADDON_INPUT_PATH

An environment variable replacement for --info was not implemented. The argument contained arbitrary information about the addon as a deep nested dictionary.
If needed, please use ADDON_ID to request additional information directly from the application using the public API.

Please see the documentation for a full list of supported variables.

The aforementioned command-line arguments will be removed eventually.
Addons should consider this breaking change in a way that they will work with the arguments being present and after their removal.