Add `config` and `export` commands to _rkt.
This commit is contained in:
		
							parent
							
								
									f0438a05ed
								
							
						
					
					
						commit
						b9ab8f5c5c
					
				
							
								
								
									
										13
									
								
								src/_rkt
								
								
								
								
							
							
						
						
									
										13
									
								
								src/_rkt
								
								
								
								
							|  | @ -70,11 +70,22 @@ _rkt() { | ||||||
|             '--pretty-print[apply indent to format the output]' \ |             '--pretty-print[apply indent to format the output]' \ | ||||||
|             ;; |             ;; | ||||||
| 
 | 
 | ||||||
|  |         config) | ||||||
|  |           _arguments \ | ||||||
|  |             '--pretty-print[apply indent to format the output]' \ | ||||||
|  |             ;; | ||||||
|  | 
 | ||||||
|         enter) |         enter) | ||||||
|           _arguments \ |           _arguments \ | ||||||
|             '--app=:appname' \ |             '--app=:appname' \ | ||||||
|             ;; |             ;; | ||||||
| 
 | 
 | ||||||
|  |         export) | ||||||
|  |           _arguments \ | ||||||
|  |             '--app=:appname' \ | ||||||
|  |             '--overwrite[overwrite output ACI]' \ | ||||||
|  |             ;; | ||||||
|  | 
 | ||||||
|         fetch) |         fetch) | ||||||
|           _arguments \ |           _arguments \ | ||||||
|             '--full[print the full image hash after fetching]' \ |             '--full[print the full image hash after fetching]' \ | ||||||
|  | @ -234,7 +245,9 @@ _rkt_cmds() { | ||||||
|   commands=( |   commands=( | ||||||
|     'api-service:Run API service' |     'api-service:Run API service' | ||||||
|     'cat-manifest:Inspect and print the pod manifest' |     'cat-manifest:Inspect and print the pod manifest' | ||||||
|  |     'config:Print configuration for each stage in JSON format' | ||||||
|     'enter:Enter the namespaces of an app within a rkt pod' |     'enter:Enter the namespaces of an app within a rkt pod' | ||||||
|  |     'export:Export an app from an exited pod to an ACI file' | ||||||
|     'fetch:Fetch image(s) and store them in the local store' |     'fetch:Fetch image(s) and store them in the local store' | ||||||
|     'gc:Garbage collect rkt pods no longer in use' |     'gc:Garbage collect rkt pods no longer in use' | ||||||
|     'image:Operate on image(s) in the local store' |     'image:Operate on image(s) in the local store' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue