Skip to content

Instantly share code, notes, and snippets.

@CounterPillow
Created April 28, 2016 16:30
Show Gist options
  • Save CounterPillow/9e6ea93bd0e9b94b8de84326db46fee4 to your computer and use it in GitHub Desktop.
Save CounterPillow/9e6ea93bd0e9b94b8de84326db46fee4 to your computer and use it in GitHub Desktop.
CUMFILE="$HOME/.cum/config.json"
MADOKAMI_USERNAME=$(jq -r '.madokami.username' $CUMFILE)
MADOKAMI_PASSWORD=$(jq -r '.madokami.password' $CUMFILE)
BATOTO_USERNAME=$(jq -r '.batoto.username' $CUMFILE)
BATOTO_PASSWORD=$(jq -r '.batoto.password' $CUMFILE)
export MADOKAMI_USERNAME
export MADOKAMI_PASSWORD
export BATOTO_USERNAME
export BATOTO_PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment