mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 05:17:18 +00:00

This reverts commit 47fc1b7357bdb9e9aa8e2d7476690435087d984e in order to prevent a possible regression, until properly investigated and fixed. Change-Type: patch Changelog-Entry: Revert using native binding to clean disks on Windows
Etcher CLI
The Etcher CLI is a command line interface to the Etcher writer backend, and currently the only module in the "Etcher" umbrella that makes use of this backend directly.
This module also has the task of unmounting the drives before and after flashing.
Notice the Etcher CLI is not worried about elevation, and assumes it has enough permissions to continue, throwing an error otherwise.
Exit codes
The Etcher CLI uses certain exit codes to signal the result of the operation.
These are documented in lib/shared/exit-codes.js
and are also
printed on the Etcher CLI help page.