Skip to main content

Module tools

Module tools 

Source
Expand description

The command-line tools a machine check reports: whether each answers its version probe, and the version it printed. A tool that can’t be started, fails its probe or runs out of the probe’s time reads as not installed, with no version: the check goes on, it never fails for one tool.

Modules§

ovftool
VMware’s OVF Tool (ovftool), which the ESXi Vagrant plugin uploads VMs with. It isn’t installed the way the other tools are: it comes inside VMware Fusion (Workstation on Windows), or as a standalone download from Broadcom, which unpacks to a loose folder nothing looks in (and, on macOS, quarantined). place copies such a folder, once verified as VMware’s, into a folder the caller keeps (its own tools folder, which it puts on its PATH).
probes
The version probes of the tools a check reports, each a program and the arguments it answers its version with.

Structs§

CloudClis
The cloud providers’ command-line tools.
PackageManager
The package manager a setup installs through, as the check found it.
Tool
A command-line tool as the check found it.

Functions§

azure_cli
The Azure CLI (probes::AZURE), its version the azure-cli entry of the JSON it prints.
cloud_clis
Which cloud CLIs answer here, asked side by side.
first_line
The first non-blank line, trimmed: a tool whose output opens with a blank line (a banner’s spacing) or ends its lines with \r\n reads with its version, not an empty one.
package_manager
The context’s host’s package manager (crate::Host::packages) and whether it answers its --version; when the host has none, the one its OS usually has (usual_packages), not installed. One that started but ran out of the probe’s time is installed, its version unsaid: winget’s first run in a session can take that long (Windows starts its App Installer package), and a setup would otherwise send the user to the Store for a winget they have.
version
program args, a version probe: installed when it exits 0, its version the first line it printed (first_line).