unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.CommandLine

Synopsis

Documentation

parseInput Source #

Arguments

:: Codebase IO Symbol Ann 
-> ProjectPath

Current location

-> IO (Branch IO) 
-> NumberedArgs

Numbered arguments

-> Map String InputPattern

Input Pattern Map

-> [String]

command:arguments

-> IO (Either ParseFailure (Maybe (Arguments, Input))) 

reportParseFailure :: ParseFailure -> Pretty ColorText Source #

TODO: Move this closer to main, but right now it’s shared by ucm and transcripts, so this is the closest we can get without duplicating it.