Skip to content

russet processor-info

russet processor-info prints the description, input variables, and output variables of one processor.

Terminal window
russet processor-info [OPTIONS] PROCESSOR

Replace the following:

  • OPTIONS: any of the options in the following table.
  • PROCESSOR: a processor name from russet list-processors, such as URLDownloader.

Russet prints the processor’s Description, its Input variables with whether the processor requires each one, its default and description, and its Output variables.

Some defaults depend on the platform:

  • Unarchiver shows USE_PYTHON_NATIVE_EXTRACTOR as False on macOS and Linux, and True on Windows. AutoPkg shows True on Linux; Russet differs because its Linux extractor keeps what app bundles need.
  • SignToolVerifier shows the signtool_path that Russet finds on the current computer, or None.
Option Description
--prefs FILE Reads preferences from FILE on top of Russet’s preferences.
-r RECIPE, --recipe RECIPE Accepted for compatibility. Russet ignores it.
-d FOLDER, --search-dir FOLDER Accepted for compatibility. Russet ignores it.
--override-dir FOLDER Accepted for compatibility. Russet ignores it.
Status Meaning
0 Russet printed the information.
1 Russet couldn’t read the --prefs file.
2 Russet couldn’t parse an option.
255 You didn’t name exactly one processor, or Russet doesn’t implement the processor. On Windows, the status is -1.

To show the variables of URLDownloader, run the following command:

Terminal window
russet processor-info URLDownloader

The output starts like the following:

Description: Downloads a URL to the specified download_dir using curl.
Input variables:
url:
required: True
description: The URL to download.