hunk.code_window:   const state = {
       active: destination.destinations.length,
       flashing: destination.destinations.length,
       verifying: 0,
       failed: 0,
       successful: 0
     }
     function updateState() {
  
hunk.labels: keep keep keep keep keep replace keep keep
hunk.after_edit:     successful: 0,
       type: step
  
hunk.file_path: lib/gui/modules/child-writer.js
hunk.type: replace
file: 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`][exit-codes] and are also
  printed on the Etcher CLI help page.
  
  [exit-codes]: https://github.com/balena-io/etcher/blob/master/lib/shared/exit-codes.js
  