Skip to content

Instantly share code, notes, and snippets.

@xlyk
Created October 28, 2021 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xlyk/0b5bf57e0aac31b85a6636af480ec904 to your computer and use it in GitHub Desktop.
Save xlyk/0b5bf57e0aac31b85a6636af480ec904 to your computer and use it in GitHub Desktop.
get list of all airflow variables
#!/bin/bash
for KEY in $(airflow variables list | tail -n +2); do
echo "$KEY=$(airflow variables get $KEY)"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment