 a2ba701056
			
		
	
	
	a2ba701056
	
	
	
		
			
			This is a work in progress. It compiles and is able to do basic command dispatch, including git autocorrection, while using optparse-applicative for the core commandline parsing. * Many commands are temporarily disabled before conversion. * Options are not wired in yet. * cmdnorepo actions don't work yet. Also, removed the [Command] list, which was only used in one place.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			371 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			371 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
| {- git-annex command
 | |
|  -
 | |
|  - Copyright 2015 Joey Hess <id@joeyh.name>
 | |
|  -
 | |
|  - Licensed under the GNU GPL version 3 or higher.
 | |
|  -}
 | |
| 
 | |
| module Command.Required where
 | |
| 
 | |
| import Command
 | |
| import Logs.PreferredContent
 | |
| import qualified Command.Wanted
 | |
| 
 | |
| cmd :: Command
 | |
| cmd = Command.Wanted.cmd' "required" "get or set required content expression"
 | |
| 	requiredContentMapRaw
 | |
| 	requiredContentSet
 |