mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2023-10-10 13:36:57 +02:00
16 lines
378 B
PowerShell
16 lines
378 B
PowerShell
if ($($args.Count) -lt 1) {
|
|
echo "USAGE: <License Gen action> [License Gen args...]"
|
|
echo "ACTIONS:"
|
|
echo " interactive"
|
|
echo " user"
|
|
echo " org"
|
|
Exit 1
|
|
}
|
|
|
|
if ($args[0] = "interactive") {
|
|
$shiftedarray = $args[1 .. ($args.count-1)]
|
|
docker run -it --rm bitbetter/licensegen "$shiftedarray"
|
|
} else {
|
|
docker run bitbetter/licensegen "$shiftedarray"
|
|
}
|