Control the run without changing the profile.
CLI options override selected archive and output behavior or perform executable-management operations that exit before collection.
Syntax
aralez.exe [OPTIONS]
aralez [OPTIONS]Help and version
-h, --helpShows the options compiled for the current operating system and exits.
-V, --versionReports the Cargo package version compiled into the executable and exits.
Collection options
-v, --verbosSets DEBUG_MODE=true. The long flag is spelled --verbos in v0.11.0.
--silentUses a hidden progress bar; run logs are still written into the archive.
--streamAvoids creating a complete intermediate collection folder.
--compression <TYPE>Accepted values are zip and tar. TAR output uses the .tar.zst extension.
-e, --encrypt <PASSWORD>Overrides profile-level encrypt and enables AES-256 encryption on ZIP output.
-w, --workdir <PATH>Creates the directory if needed, then changes into it before output naming and collection.
-d, --default_drive <DRIVE>Defaults to C on Windows. Optional on Unix targets, which discover the root device.
Output options
-o, --output <DESTINATION>Accepts s3://, sftp://, smb://, or a local/mounted folder path.
--s3-endpoint <URL>Used for MinIO and other S3-compatible services; forces path-style requests.
--s3-access-key <KEY>Takes precedence over credentials embedded in a configured S3 destination.
--s3-secret-key <SECRET>Supply with the access key; prefer a short-lived environment or managed role where possible.
Configuration management
-s, --show_configWrites the raw embedded configuration to stdout and exits.
-x, --check_configParses the loaded configuration, prints confirmation, and exits.
-c, --change_config <CONFIG_FILE> <OUTPUT_FILE>Validates a YAML file and embeds it into a copy of the current executable.
CLI precedence and early-exit behavior
| Input | Runtime rule |
|---|---|
--stream | Logical OR with YAML stream. It can enable streaming but cannot disable stream: true. |
--compression | Replaces YAML compression for the run. |
--encrypt | Replaces the global YAML archive password. It does not change entry-level file encryption settings. |
--output | Uses exactly one CLI destination and skips the entire YAML destination list. |
| S3 CLI overrides | --s3-endpoint, access key, and secret key take precedence over the selected S3 destination’s YAML values. |
--workdir | Creates and enters the directory before output naming, log creation, archive creation, and relative destination resolution. |
| Management commands | --show_config, --check_config, --change_config, and Windows tool-resource operations exit before resource checks or collection. |
Archive passwords and explicit S3 keys supplied as arguments may be exposed through process inventory, shell history, remote-execution logs, and endpoint telemetry. Prefer scoped workload credentials or controlled environment injection where possible.
Windows-only executable resources
-l, --list_toolsDistinguishes statically compiled tools from dynamically added executable resources.
-a, --add_tool <EXE> <OUTPUT_EXE>Creates a new Aralez executable with the supplied tool embedded.
-r, --remove_tool <NAME> <OUTPUT_EXE>Creates a new executable without the named dynamic tool. Static tools cannot be removed this way.
Command builder
aralez.exe --stream --compression zip