#!/bin/env fish
begin
    set -l dir (status dirname)
    set -l base "$dir/Main.ps1"
    source "$(status dirname)/../../Scripts/software.fish"

    function configureSW -S -V base
        pwsh "$base" Configure
    end

    function userConfig -S -V base -a name
        runPSUserConfig "$base" $name
    end

    runInstaller $argv
end