github.com/StackExchange/blackbox/v2@v2.0.1-0.20220331193400-d84e904973ab/bin/blackbox_decrypt_file (about)

     1  #!/usr/bin/env bash
     2  
     3  #
     4  # blackbox_decrypt_file -- Decrypt one or more blackbox files.
     5  #
     6  
     7  set -e
     8  source "${0%/*}/_blackbox_common.sh"
     9  
    10  if [ $# -eq 0 ]; then
    11    echo >&2 "Please provide at least one file to decrypt"
    12    exit 1
    13  fi
    14  
    15  "${BLACKBOX_HOME}/blackbox_edit_start" "$@"