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

    function configureSW -V dir
        sudo systemctl enable --now docker
    end

    function userConfig
        argparse -i "user=" -- $argv
        sudo usermod -aG docker "$_flag_user"
    end

    runInstaller $argv
end