Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
205 B

  1. #!/usr/bin/env bash
  2. if [ $# -lt 2 ]; then
  3. echo 'Usage: blubber config.yaml variant'
  4. return 1
  5. fi
  6. curl -s -H 'content-type: application/yaml' --data-binary @"$1" https://blubberoid.wikimedia.org/v1/"$2"