fn resolve_nonce_argument( nonce: Option<String>, file: Option<PathBuf>, ) -> Result<String, CliCommandError>