#!/usr/bin/env zsh

gup -u nvfetcher.toml
gup --contents <(nvfetcher --version)
[[ -d $2 ]] && cp -a $2 $1
nvfetcher -o $1