mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-16 03:06:18 +00:00
* Rename Containers from bitwarden/self-host:beta to bitwarden/lite:beta * Edit README to reflect rename * Change build.ps1 and Dockerfile-bitwarden-patched to CRLF * Remove .DS_Store file, and add to .gitignore * Actually remove .DS_Store * Make all ps1 files CRLF in .gitattributes & Make Dockerfiles LF. * Change from beta tag to latest
18 lines
420 B
PowerShell
18 lines
420 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
$PSNativeCommandUseErrorActionPreference = $true
|
|
|
|
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] -eq "interactive") {
|
|
docker run -it --rm bitbetter/licensegen interactive
|
|
} else {
|
|
docker run bitbetter/licensegen $args
|
|
}
|