Global options
Options to control the overall behavior of Pants.
Backend: ``
Config section: [GLOBAL]
Basic options
colors
--[no-]colorsPANTS_COLORS[GLOBAL]
colors = <bool>
FalseWhether Pants should use colors in output or not. This may also impact whether some tools Pants run use color.
dynamic_ui
--[no-]dynamic-uiPANTS_DYNAMIC_UI[GLOBAL]
dynamic_ui = <bool>
TrueDisplay a dynamically-updating console UI as Pants runs. This is true by default if Pants detects a TTY and there is no 'CI' environment variable indicating that Pants is running in a continuous integration environment.
exclude_target_regexp
--exclude-target-regexp="[<regexp>, <regexp>, ...]"PANTS_EXCLUDE_TARGET_REGEXP[GLOBAL]
exclude_target_regexp = [
<regexp>,
<regexp>,
...,
]
[]Exclude targets that match these regexes. This does not impact file arguments.
level
-l=<LogLevel>, --level=<LogLevel>PANTS_LEVEL[GLOBAL]
level = <LogLevel>
trace, debug, info, warn, errordefault:
infoSet the logging level.
loop
--[no-]loopPANTS_LOOP[GLOBAL]
loop = <bool>
FalseRun goals continuously as file changes are detected. Alpha feature.
spec_files
--spec-files="['<str>', '<str>', ...]"PANTS_SPEC_FILES[GLOBAL]
spec_files = [
'<str>',
'<str>',
...,
]
[]Read additional specs (target addresses, files, and/or globs), one per line,from these files.
tag
--tag="[[+-]tag1,tag2,..., [+-]tag1,tag2,..., ...]"PANTS_TAG[GLOBAL]
tag = [
[+-]tag1,tag2,...,
[+-]tag1,tag2,...,
...,
]
[]Include only targets with these tags (optional '+' prefix) or without these tags ('-' prefix). See https://www.pantsbuild.org/v2.2/docs/advanced-target-selection.
Advanced options
backend_packages
--backend-packages="['<str>', '<str>', ...]"PANTS_BACKEND_PACKAGES[GLOBAL]
backend_packages = [
'<str>',
'<str>',
...,
]
[]Register functionality from these backends.
The backend packages must be present on the PYTHONPATH, typically because they are in the Pants core dist, in a plugin dist, or available as sources in the repo.
build_file_prelude_globs
--build-file-prelude-globs="['<str>', '<str>', ...]"PANTS_BUILD_FILE_PRELUDE_GLOBS[GLOBAL]
build_file_prelude_globs = [
'<str>',
'<str>',
...,
]
[]Python files to evaluate and whose symbols should be exposed to all BUILD files. See https://www.pantsbuild.org/v2.2/docs/macros.
build_ignore
--build-ignore="['<str>', '<str>', ...]"PANTS_BUILD_IGNORE[GLOBAL]
build_ignore = [
'<str>',
'<str>',
...,
]
[]Paths to ignore when identifying BUILD files. This does not affect any other filesystem operations; use --pants-ignore for that instead. Patterns use the gitignore pattern syntax (https://git-scm.com/docs/gitignore).
build_patterns
--build-patterns="['<str>', '<str>', ...]"PANTS_BUILD_PATTERNS[GLOBAL]
build_patterns = [
'<str>',
'<str>',
...,
]
[ "BUILD", "BUILD.*" ]
The naming scheme for BUILD files, i.e. where you define targets. This only sets the naming scheme, not the directory paths to look for. To add ignorepatterns, use the option --build-ignore.
ca_certs_path
--ca-certs-path=<str>PANTS_CA_CERTS_PATH[GLOBAL]
ca_certs_path = <str>
NonePath to a file containing PEM-format CA certificates used for verifying secure connections when downloading files required by a build.
concurrent
--[no-]concurrentPANTS_CONCURRENT[GLOBAL]
concurrent = <bool>
FalseEnable concurrent runs of Pants. Without this enabled, Pants will start up all concurrent invocations (e.g. in other terminals) without pantsd. Enabling this option requires parallel Pants invocations to block on the first
files_not_found_behavior
--files-not-found-behavior=<FilesNotFoundBehavior>PANTS_FILES_NOT_FOUND_BEHAVIOR[GLOBAL]
files_not_found_behavior = <FilesNotFoundBehavior>
warn, errordefault:
warnWhat to do when files and globs specified in BUILD files, such as in the sources field, cannot be found. This happens when the files do not exist on your machine or when they are ignored by the --pants-ignore option.
ignore_pants_warnings
--ignore-pants-warnings="['<str>', '<str>', ...]"PANTS_IGNORE_PANTS_WARNINGS[GLOBAL]
ignore_pants_warnings = [
'<str>',
'<str>',
...,
]
[]Regexps matching warning strings to ignore, e.g. ["DEPRECATED: the option --my-opt will be removed"]. The regex patterns will be matched from the start of the warning string, and are case-insensitive.
local_execution_root_dir
--local-execution-root-dir=<str>PANTS_LOCAL_EXECUTION_ROOT_DIR[GLOBAL]
local_execution_root_dir = <str>
/tmpDirectory to use for local process execution sandboxing. The path may be absolute or relative. If the directory is within the build root, be sure to include it in --pants-ignore.
local_store_dir
--local-store-dir=<str>PANTS_LOCAL_STORE_DIR[GLOBAL]
local_store_dir = <str>
$XDG_CACHE_HOME/pants/lmdb_storeDirectory to use for the local file store, which stores the results of subprocesses run by Pants. The path may be absolute or relative. If the directory is within the build root, be sure to include it in --pants-ignore.
log_levels_by_target
--log-levels-by-target="{'key1': val1, 'key2': val2, ...}"PANTS_LOG_LEVELS_BY_TARGET[GLOBAL.log_levels_by_target]
key1 = val1
key2 = val2
...
{}Set a more specific logging level for one or more logging targets. The names of logging targets are specified in log strings when the --show-log-target option is set. The logging levels are one of: "error", "warn", "info", "debug", "trace". All logging targets not specified here use the global log level set with --level. For example, you can set --log-levels-by-target='{"workunit_store": "info", "pants.engine.rules": "warn"}'.
log_show_rust_3rdparty
--[no-]log-show-rust-3rdpartyPANTS_LOG_SHOW_RUST_3RDPARTY[GLOBAL]
log_show_rust_3rdparty = <bool>
FalseWhether to show/hide logging done by 3rdparty Rust crates used by the Pants engine.
logdir
-d=<dir>, --logdir=<dir>PANTS_LOGDIR[GLOBAL]
logdir = <dir>
NoneWrite logs to files under this directory.
loop_max
--loop-max=<int>PANTS_LOOP_MAX[GLOBAL]
loop_max = <int>
4294967296The maximum number of times to loop when --loop is specified.
named_caches_dir
--named-caches-dir=<str>PANTS_NAMED_CACHES_DIR[GLOBAL]
named_caches_dir = <str>
$XDG_CACHE_HOME/pants/named_cachesDirectory to use for named global caches for tools and processes with trusted, concurrency-safe caches. The path may be absolute or relative. If the directory is within the build root, be sure to include it in --pants-ignore.
native_engine_visualize_to
--native-engine-visualize-to=<dir_option>PANTS_NATIVE_ENGINE_VISUALIZE_TO[GLOBAL]
native_engine_visualize_to = <dir_option>
NoneA directory to write execution and rule graphs to as dot files. The contents of the directory will be overwritten if any filenames collide.
owners_not_found_behavior
--owners-not-found-behavior=<OwnersNotFoundBehavior>PANTS_OWNERS_NOT_FOUND_BEHAVIOR[GLOBAL]
owners_not_found_behavior = <OwnersNotFoundBehavior>
ignore, warn, errordefault:
errorWhat to do when file arguments do not have any owning target. This happens when there are no targets whose sources fields include the file argument.
pants_bin_name
--pants-bin-name=<str>PANTS_BIN_NAME[GLOBAL]
pants_bin_name = <str>
./pantsThe name of the script or binary used to invoke Pants. Useful when printing help messages.
pants_config_files
--pants-config-files="['<str>', '<str>', ...]"PANTS_CONFIG_FILES[GLOBAL]
pants_config_files = [
'<str>',
'<str>',
...,
]
[ "<buildroot>/pants.toml" ]
Paths to Pants config files. This may only be set through the environment variable PANTS_CONFIG_FILES and the command line argument --pants-config-files; it will be ignored if in a config file like pants.toml.
pants_distdir
--pants-distdir=<dir>PANTS_DISTDIR[GLOBAL]
pants_distdir = <dir>
<buildroot>/distWrite end products, such as the results of ./pants package, to this dir.
pants_ignore
--pants-ignore="['<str>', '<str>', ...]"PANTS_IGNORE[GLOBAL]
pants_ignore = [
'<str>',
'<str>',
...,
]
[ ".*/", "/dist/" ]
Paths to ignore for all filesystem operations performed by pants (e.g. BUILD file scanning, glob matching, etc). Patterns use the gitignore syntax (https://git-scm.com/docs/gitignore). The pants_distdir and pants_workdir locations are automatically ignored. pants_ignore can be used in tandem with pants_ignore_use_gitignore; any rules specified here are applied after rules specified in a .gitignore file.
pants_ignore_use_gitignore
--[no-]pants-ignore-use-gitignorePANTS_IGNORE_USE_GITIGNORE[GLOBAL]
pants_ignore_use_gitignore = <bool>
TrueMake use of a root .gitignore file when determining whether to ignore filesystem operations performed by Pants. If used together with --pants-ignore, any exclude/include patterns specified there apply after .gitignore rules.
pants_physical_workdir_base
--pants-physical-workdir-base=<dir>PANTS_PHYSICAL_WORKDIR_BASE[GLOBAL]
pants_physical_workdir_base = <dir>
NoneWhen set, a base directory in which to store --pants-workdir contents. If this option is a set, the workdir will be created as symlink into a per-workspace subdirectory.
pants_subprocessdir
--pants-subprocessdir=<str>PANTS_SUBPROCESSDIR[GLOBAL]
pants_subprocessdir = <str>
<buildroot>/.pidsThe directory to use for tracking subprocess metadata. This should live outside of the dir used by pants_workdir to allow for tracking subprocesses that outlive the workdir data.
pants_supportdir
--pants-supportdir=<dir>PANTS_SUPPORTDIR[GLOBAL]
pants_supportdir = <dir>
<buildroot>/build-supportUnused. Will be deprecated in 2.2.0.
pants_version
--pants-version=<str>PANTS_VERSION[GLOBAL]
pants_version = <str>
2.2.4Use this Pants version. Note that Pants only uses this to verify that you are using the requested version, as Pants cannot dynamically change the version it is using once the program is already running.
If you use the ./pants script from https://www.pantsbuild.org/v2.2/docs/installation, however, changing the value in your pants.toml will cause the new version to be installed and run automatically.
Run ./pants --version to check what is being used.
pants_workdir
--pants-workdir=<dir>PANTS_WORKDIR[GLOBAL]
pants_workdir = <dir>
<buildroot>/.pants.dWrite intermediate logs and output files to this dir.
pantsd
--[no-]pantsdPANTS_PANTSD[GLOBAL]
pantsd = <bool>
TrueEnables use of the Pants daemon (pantsd). pantsd can significantly improve runtime performance by lowering per-run startup cost, and by memoizing filesystem operations and rule execution.
pantsd_invalidation_globs
--pantsd-invalidation-globs="['<str>', '<str>', ...]"PANTS_PANTSD_INVALIDATION_GLOBS[GLOBAL]
pantsd_invalidation_globs = [
'<str>',
'<str>',
...,
]
[]Filesystem events matching any of these globs will trigger a daemon restart. Pants's own code, plugins, and --pants-config-files are inherently invalidated.
pantsd_max_memory_usage
--pantsd-max-memory-usage=<int>PANTS_PANTSD_MAX_MEMORY_USAGE[GLOBAL]
pantsd_max_memory_usage = <int>
1073741824The maximum memory usage of a pantsd process (in bytes). There is at most one pantsd process per workspace.
pantsd_pailgun_port
--pantsd-pailgun-port=<int>PANTS_PANTSD_PAILGUN_PORT[GLOBAL]
pantsd_pailgun_port = <int>
0The port to bind the Pants nailgun server to. Defaults to a random port.
pantsd_timeout_when_multiple_invocations
--pantsd-timeout-when-multiple-invocations=<float>PANTS_PANTSD_TIMEOUT_WHEN_MULTIPLE_INVOCATIONS[GLOBAL]
pantsd_timeout_when_multiple_invocations = <float>
60.0The maximum amount of time to wait for the invocation to start until raising a timeout exception. Because pantsd currently does not support parallel runs, any prior running Pants command must be finished for the current one to start. To never timeout, use the value -1.
pantsrc
--[no-]pantsrcPANTS_PANTSRC[GLOBAL]
pantsrc = <bool>
TrueUse pantsrc files located at the paths specified in the global option pantsrc_files.
pantsrc_files
--pantsrc-files="[<path>, <path>, ...]"PANTS_PANTSRC_FILES[GLOBAL]
pantsrc_files = [
<path>,
<path>,
...,
]
[ "/etc/pantsrc", "~/.pants.rc" ]
Override config with values from these files, using syntax matching that of --pants-config-files.
plugin_cache_dir
--plugin-cache-dir=<str>PANTS_PLUGIN_CACHE_DIR[GLOBAL]
plugin_cache_dir = <str>
$XDG_CACHE_HOME/pants/pluginsCache resolved plugin requirements here.
plugins
--plugins="['<str>', '<str>', ...]"PANTS_PLUGINS[GLOBAL]
plugins = [
'<str>',
'<str>',
...,
]
[]Allow backends to be loaded from these plugins (usually released through PyPI). The default backends for each plugin will be loaded automatically. Other backends in a plugin can be loaded by listing them in backend_packages in the [GLOBAL] scope.
plugins_force_resolve
--[no-]plugins-force-resolvePANTS_PLUGINS_FORCE_RESOLVE[GLOBAL]
plugins_force_resolve = <bool>
FalseRe-resolve plugins, even if previously resolved.
print_stacktrace
--[no-]print-stacktracePANTS_PRINT_STACKTRACE[GLOBAL]
print_stacktrace = <bool>
FalsePrint the full exception stack trace for any errors.
process_execution_cache_namespace
--process-execution-cache-namespace=<str>PANTS_PROCESS_EXECUTION_CACHE_NAMESPACE[GLOBAL]
process_execution_cache_namespace = <str>
NoneThe cache namespace for process execution. Change this value to invalidate every artifact's execution, or to prevent process cache entries from being (re)used for different usecases or users.
process_execution_cleanup_local_dirs
--[no-]process-execution-cleanup-local-dirsPANTS_PROCESS_EXECUTION_CLEANUP_LOCAL_DIRS[GLOBAL]
process_execution_cleanup_local_dirs = <bool>
TrueWhether or not to cleanup directories used for local process execution (primarily useful for e.g. debugging).
process_execution_local_enable_nailgun
--[no-]process-execution-local-enable-nailgunPANTS_PROCESS_EXECUTION_LOCAL_ENABLE_NAILGUN[GLOBAL]
process_execution_local_enable_nailgun = <bool>
FalseWhether or not to use nailgun to run the requests that are marked as nailgunnable.
process_execution_local_parallelism
--process-execution-local-parallelism=<int>PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM[GLOBAL]
process_execution_local_parallelism = <int>
64Number of concurrent processes that may be executed locally.
process_execution_remote_parallelism
--process-execution-remote-parallelism=<int>PANTS_PROCESS_EXECUTION_REMOTE_PARALLELISM[GLOBAL]
process_execution_remote_parallelism = <int>
128Number of concurrent processes that may be executed remotely.
process_execution_speculation_delay
--process-execution-speculation-delay=<float>PANTS_PROCESS_EXECUTION_SPECULATION_DELAY[GLOBAL]
process_execution_speculation_delay = <float>
1.0Number of seconds to wait before speculating a second request for a slow process. see --process-execution-speculation-strategy
process_execution_speculation_strategy
--process-execution-speculation-strategy=<str>PANTS_PROCESS_EXECUTION_SPECULATION_STRATEGY[GLOBAL]
process_execution_speculation_strategy = <str>
remote_first, local_first, nonedefault:
noneSpeculate a second request for an underlying process if the first one does not complete within --process-execution-speculation-delay seconds.
local_first (default): Try to run the process locally first, and fall back to remote execution if available.
remote_first: Run the process on the remote execution backend if available, and fall back to the local host if remote calls take longer than the speculation timeout.
none: Do not speculate about long running processes.
process_execution_use_local_cache
--[no-]process-execution-use-local-cachePANTS_PROCESS_EXECUTION_USE_LOCAL_CACHE[GLOBAL]
process_execution_use_local_cache = <bool>
TrueWhether to keep process executions in a local cache persisted to disk.
pythonpath
--pythonpath="['<str>', '<str>', ...]"PANTS_PYTHONPATH[GLOBAL]
pythonpath = [
'<str>',
'<str>',
...,
]
[]Add these directories to PYTHONPATH to search for plugins. This does not impact the PYTHONPATH used by Pants when running your Python code.
remote_ca_certs_path
--remote-ca-certs-path=<str>PANTS_REMOTE_CA_CERTS_PATH[GLOBAL]
remote_ca_certs_path = <str>
NonePath to a PEM file containing CA certificates used for verifying secure connections to --remote-execution-server and --remote-store-server. If not specified, TLS will not be used.
remote_cache_read
--[no-]remote-cache-readPANTS_REMOTE_CACHE_READ[GLOBAL]
remote_cache_read = <bool>
FalseWhether to enable reading from a remote cache
remote_cache_write
--[no-]remote-cache-writePANTS_REMOTE_CACHE_WRITE[GLOBAL]
remote_cache_write = <bool>
FalseWhether to enable writing results to a remote cache
remote_execution
--[no-]remote-executionPANTS_REMOTE_EXECUTION[GLOBAL]
remote_execution = <bool>
FalseEnables remote workers for increased parallelism. (Alpha)
remote_execution_extra_platform_properties
--remote-execution-extra-platform-properties="['<str>', '<str>', ...]"PANTS_REMOTE_EXECUTION_EXTRA_PLATFORM_PROPERTIES[GLOBAL]
remote_execution_extra_platform_properties = [
'<str>',
'<str>',
...,
]
[]Platform properties to set on remote execution requests. Format: property=value. Multiple values should be specified as multiple occurrences of this flag. Pants itself may add additional platform properties.
remote_execution_headers
--remote-execution-headers="{'key1': val1, 'key2': val2, ...}"PANTS_REMOTE_EXECUTION_HEADERS[GLOBAL.remote_execution_headers]
key1 = val1
key2 = val2
...
{}Headers to set on remote execution requests. Format: header=value. Pants itself may add additional headers.
remote_execution_overall_deadline_secs
--remote-execution-overall-deadline-secs=<int>PANTS_REMOTE_EXECUTION_OVERALL_DEADLINE_SECS[GLOBAL]
remote_execution_overall_deadline_secs = <int>
3600Overall timeout in seconds for each remote execution request from time of submission
remote_execution_server
--remote-execution-server=<str>PANTS_REMOTE_EXECUTION_SERVER[GLOBAL]
remote_execution_server = <str>
Nonehost:port of grpc server to use as remote execution scheduler.
remote_instance_name
--remote-instance-name=<str>PANTS_REMOTE_INSTANCE_NAME[GLOBAL]
remote_instance_name = <str>
NoneName of the remote execution instance to use. Used for routing within --remote-execution-server and --remote-store-server.
remote_oauth_bearer_token_path
--remote-oauth-bearer-token-path=<str>PANTS_REMOTE_OAUTH_BEARER_TOKEN_PATH[GLOBAL]
remote_oauth_bearer_token_path = <str>
NonePath to a file containing an oauth token to use for grpc connections to --remote-execution-server and --remote-store-server. If not specified, no authorization will be performed.
remote_store_chunk_bytes
--remote-store-chunk-bytes=<int>PANTS_REMOTE_STORE_CHUNK_BYTES[GLOBAL]
remote_store_chunk_bytes = <int>
1048576Size in bytes of chunks transferred to/from the remote file store.
remote_store_chunk_upload_timeout_seconds
--remote-store-chunk-upload-timeout-seconds=<int>PANTS_REMOTE_STORE_CHUNK_UPLOAD_TIMEOUT_SECONDS[GLOBAL]
remote_store_chunk_upload_timeout_seconds = <int>
60Timeout (in seconds) for uploads of individual chunks to the remote file store.
remote_store_connection_limit
--remote-store-connection-limit=<int>PANTS_REMOTE_STORE_CONNECTION_LIMIT[GLOBAL]
remote_store_connection_limit = <int>
5Number of remote stores to concurrently allow connections to.
remote_store_initial_timeout
--remote-store-initial-timeout=<int>PANTS_REMOTE_STORE_INITIAL_TIMEOUT[GLOBAL]
remote_store_initial_timeout = <int>
10Initial timeout (in milliseconds) when there is a failure in accessing a remote store.
remote_store_maximum_timeout
--remote-store-maximum-timeout=<int>PANTS_REMOTE_STORE_MAXIMUM_TIMEOUT[GLOBAL]
remote_store_maximum_timeout = <int>
10Maximum timeout (in millseconds) to allow between retry attempts in accessing a remote store.
remote_store_rpc_retries
--remote-store-rpc-retries=<int>PANTS_REMOTE_STORE_RPC_RETRIES[GLOBAL]
remote_store_rpc_retries = <int>
2Number of times to retry any RPC to the remote store before giving up.
remote_store_server
--remote-store-server="['<str>', '<str>', ...]"PANTS_REMOTE_STORE_SERVER[GLOBAL]
remote_store_server = [
'<str>',
'<str>',
...,
]
[]host:port of grpc server to use as remote execution file store.
remote_store_thread_count
--remote-store-thread-count=<int>PANTS_REMOTE_STORE_THREAD_COUNT[GLOBAL]
remote_store_thread_count = <int>
1Thread count to use for the pool that interacts with the remote file store.
remote_store_timeout_multiplier
--remote-store-timeout-multiplier=<float>PANTS_REMOTE_STORE_TIMEOUT_MULTIPLIER[GLOBAL]
remote_store_timeout_multiplier = <float>
2.0Multiplier used to increase the timeout (starting with value of --remote-store-initial-timeout) between retry attempts in accessing a remote store.
rule_threads_core
--rule-threads-core=<int>PANTS_RULE_THREADS_CORE[GLOBAL]
rule_threads_core = <int>
32The number of threads to keep active and ready to execute @rule logic (see also: --rule-threads-max). Values less than 2 are not currently supported. This value is independent of the number of processes that may be spawned in parallel locally (controlled by --process-execution-local-parallelism).
rule_threads_max
--rule-threads-max=<int>PANTS_RULE_THREADS_MAX[GLOBAL]
rule_threads_max = <int>
NoneThe maximum number of threads to use to execute @rule logic. Defaults to a small multiple of --rule-threads-core.
show_log_target
--[no-]show-log-targetPANTS_SHOW_LOG_TARGET[GLOBAL]
show_log_target = <bool>
FalseDisplay the target where a log message originates in that log message's output. This can be helpful when paired with --log-levels-by-target.
streaming_workunits_report_interval
--streaming-workunits-report-interval=<float>PANTS_STREAMING_WORKUNITS_REPORT_INTERVAL[GLOBAL]
streaming_workunits_report_interval = <float>
1.0Interval in seconds between when streaming workunit event receivers will be polled.
subproject_roots
--subproject-roots="['<str>', '<str>', ...]"PANTS_SUBPROJECT_ROOTS[GLOBAL]
subproject_roots = [
'<str>',
'<str>',
...,
]
[]Paths that correspond with build roots for any subproject that this project depends on.
verify_config
--[no-]verify-configPANTS_VERIFY_CONFIG[GLOBAL]
verify_config = <bool>
TrueVerify that all config file values correspond to known options.
Deprecated options
pants_bootstrapdir
--pants-bootstrapdir=<dir>PANTS_BOOTSTRAPDIR[GLOBAL]
pants_bootstrapdir = <dir>
NoneDeprecated, will be removed in version: 2.3.0.dev1.
Unused.
Unused.
pants_configdir
--pants-configdir=<dir>PANTS_CONFIGDIR[GLOBAL]
pants_configdir = <dir>
NoneDeprecated, will be removed in version: 2.3.0.dev1.
Unused.
Unused.
pantsd_pailgun_quit_timeout
--pantsd-pailgun-quit-timeout=<float>PANTS_PANTSD_PAILGUN_QUIT_TIMEOUT[GLOBAL]
pantsd_pailgun_quit_timeout = <float>
5.0Deprecated, will be removed in version: 2.3.0.dev0.
The pailgun client has been rewritten to no longer use this
The length of time (in seconds) to wait for further output after sending a signal to the remote pantsd process before killing it.
streaming_workunits_handlers
--streaming-workunits-handlers="['<str>', '<str>', ...]"PANTS_STREAMING_WORKUNITS_HANDLERS[GLOBAL]
streaming_workunits_handlers = [
'<str>',
'<str>',
...,
]
[]Deprecated, will be removed in version: 2.3.0.dev0.
To register a StreamingWorkunitHandler callback, install a UnionRule for type `WorkunitsCallbackFactoryRequest`.
Use this option to name Subsystems which will receive streaming workunit events. For instance, --streaming-workunits-handlers="['pants.reporting.workunit.Workunits']" will register a Subsystem called Workunits defined in the module "pants.reporting.workunit".
Related subsystems
None