Synopsis
fcli tool fod-uploader run [-d=<workDir>] [--use-shell=<useShell>] [-v=<versionToRun>] [[-h] [--env-prefix=<envPrefix>] [--log-file=<logFile>] [--log-level=<logLevel>]] [<toolArgs>…]
Description
This command allows for running FoD Uploader as previously installed through the 'fcli tool fod-uploader install' command. It is recommended to use double dashes to separate fcli options from FoD Uploader options, i.e., 'fcli tool fod-uploader run <fcli options> — <FoD Uploader options>' to explicitly differentiate between fcli options and FoD Uploader options.
Options
- -d, --workdir=<workDir>
-
The working directory from where the tool should be invoked. Default value: current working directory.
- --use-shell=<useShell>
-
Whether to use a shell to run the wrapper script provided by this tool, or to use a direct Java invocation. Using a shell provides the same behavior as manually invoking the wrapper script from the command line, but may cause issues if no (compatible) shell is available on the system or in a Docker container. Using a direct Java invocation may cause slightly different tool behavior, but will also work if no compatible shell is available and allows for consistent lookup of the appropriate JRE to use, independent of how the wrapper script performs such a JRE lookup. Allowed values: no, yes, auto. Default value: auto, which will first try to run the wrapper script, and fall back to direct Java invocation if shell invocation fails.
- -v, --version=<versionToRun>
-
Tool version to run. The specified tool version must have been previously installed using the 'install' command. Default value: the tool version that was last installed.
Generic fcli options
- --env-prefix=<envPrefix>
-
Environment variable prefix for resolving default option and parameter values. Default value is FCLI_DEFAULT.
- -h, --help
-
Show this help message and exit. Use 'fcli <command> -h' to display help for subcommands.
- --log-file=<logFile>
-
File where logging data will be written. Defaults to fcli.log in current directory if --log-level is specified.
- --log-level=<logLevel>
-
Set logging level. Note that DEBUG and TRACE levels may result in sensitive data being written to the log file. Allowed values: TRACE, DEBUG, INFO, WARN, ERROR.