mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			334 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			334 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| set -e
 | |
| 
 | |
| if [ $# -lt 1 ]; then
 | |
|     echo "USAGE: <License Gen action> [License Gen args...]"
 | |
|     echo "ACTIONS:"
 | |
|     echo " interactive"
 | |
|     echo " user"
 | |
|     echo " org"
 | |
|     exit 1
 | |
| fi
 | |
| 
 | |
| if [ "$1" = "interactive" ]; then
 | |
| 	docker run -it --rm bitbetter/licensegen interactive
 | |
| else
 | |
| 	docker run --rm bitbetter/licensegen "$@"
 | |
| fi
 |