#! /bin/bash

if [[ "$1" == "--dry-run" ]]
then
    ./from_template ./yql/mini/template.yql $2
else
    ./from_template ./yql/mini/template.yql $1 | ~/yql --title "Update Mini"
fi