russet processor-info
russet processor-info prints the description, input variables, and output
variables of one processor.
Syntax
Section titled “Syntax”russet processor-info [OPTIONS] PROCESSORReplace the following:
OPTIONS: any of the options in the following table.PROCESSOR: a processor name fromrusset list-processors, such asURLDownloader.
Description
Section titled “Description”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:
UnarchivershowsUSE_PYTHON_NATIVE_EXTRACTORasFalseon macOS and Linux, andTrueon Windows. AutoPkg showsTrueon Linux; Russet differs because its Linux extractor keeps what app bundles need.SignToolVerifiershows thesigntool_paththat Russet finds on the current computer, orNone.
Options
Section titled “Options”| 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. |
Exit status
Section titled “Exit status”| 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. |
Examples
Section titled “Examples”To show the variables of URLDownloader, run the following command:
russet processor-info URLDownloaderThe 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.