1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00
BitBetter/licenseGen.sh

17 lines
327 B
Bash
Raw Normal View History

2023-01-04 01:02:07 +01:00
#!/bin/bash
2023-01-02 20:59:14 +01:00
2023-01-04 01:02:07 +01:00
if [ $# -lt 1 ]; then
2023-01-02 20:59:14 +01:00
echo "USAGE: <License Gen action> [License Gen args...]"
echo "ACTIONS:"
echo " interactive"
echo " user"
echo " org"
exit 1
fi
if [ "$1" = "interactive" ]; then
2023-01-04 01:02:07 +01:00
docker run -it --rm bitbetter/licensegen interactive
2023-01-02 20:59:14 +01:00
else
2023-01-04 01:02:07 +01:00
docker run --rm bitbetter/licensegen "$@"
2023-01-02 20:59:14 +01:00
fi