Skip to content

Instantly share code, notes, and snippets.

View StevenRudenko's full-sized avatar

Steven Rudenko StevenRudenko

View GitHub Profile

Keybase proof

I hereby claim:

  • I am stevenrudenko on github.
  • I am stevenrudenko (https://keybase.io/stevenrudenko) on keybase.
  • I have a public key ASBbhOdzSEyeESFn8Zd-nV8Gle6-VA-4sJ-vRwBgQaBaNAo

To claim this, I am signing this object:

@StevenRudenko
StevenRudenko / op-upload
Created March 24, 2023 16:06
1Password upload tool
#!/bin/bash
if ! loc="$(type -p "op")" || [[ -z $loc ]]; then
echo "1Password CLI is not found. Try brew install --cask 1password/tap/1password-cli"
exit 1
fi
if ! loc="$(type -p "jq")" || [[ -z $loc ]]; then
echo "jq is not found. Try brew install jq"
exit 1