16 lines
		
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			347 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
#!/usr/bin/env python3
 | 
						|
 | 
						|
import argparse
 | 
						|
 | 
						|
from bundle import attach_bundle_commands
 | 
						|
from runtime import attach_runtime_commands
 | 
						|
 | 
						|
parser = argparse.ArgumentParser()
 | 
						|
 | 
						|
subparsers = parser.add_subparsers(required=True, title='commands')
 | 
						|
attach_bundle_commands(subparsers)
 | 
						|
attach_runtime_commands(subparsers)
 | 
						|
 | 
						|
args = parser.parse_args()
 | 
						|
args.func(args)
 |