-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Command-line frontend for Haskell-tools Refact -- -- Command-line frontend for Haskell-tools Refact. Not meant as a final -- product, only for demonstration purposes. @package haskell-tools-cli @version 1.1.0.2 module Paths_haskell_tools_cli version :: Version getBinDir :: IO FilePath getLibDir :: IO FilePath getDynLibDir :: IO FilePath getDataDir :: IO FilePath getLibexecDir :: IO FilePath getDataFileName :: FilePath -> IO FilePath getSysconfDir :: IO FilePath -- | The command line interface for Haskell-tools. It uses the -- Haskell-tools daemon package starting the daemon in the same process -- and communicating with it through a channel. It can be used in a -- one-shot mode, listing all actions in a command-line parameter or -- using its standard input to perform a series of refactorings. module Language.Haskell.Tools.Refactor.CLI -- | Entry point with configurable initialization. Mainly for testing, call -- normalRefactorSession to use the command-line. refactorSession :: [RefactoringChoice] -> [QueryChoice] -> ServerInit -> Handle -> Handle -> CLIOptions -> IO Bool -- | Normal entry point of the cli. normalRefactorSession :: [RefactoringChoice] -> [QueryChoice] -> Handle -> Handle -> CLIOptions -> IO Bool -- | Command-line options for the Haskell-tools CLI data CLIOptions CLIOptions :: Bool -> Bool -> Maybe String -> SharedDaemonOptions -> [FilePath] -> CLIOptions [displayVersion] :: CLIOptions -> Bool [cliVerbose] :: CLIOptions -> Bool [executeCommands] :: CLIOptions -> Maybe String [sharedOptions] :: CLIOptions -> SharedDaemonOptions [packageRoots] :: CLIOptions -> [FilePath] -- | Command line options shared by CLI and daemon. data SharedDaemonOptions SharedDaemonOptions :: Bool -> Maybe FilePath -> Bool -> Bool -> Maybe [String] -> Maybe PackageDB -> SharedDaemonOptions [noWatch] :: SharedDaemonOptions -> Bool [watchExe] :: SharedDaemonOptions -> Maybe FilePath [generateCode] :: SharedDaemonOptions -> Bool [disableHistory] :: SharedDaemonOptions -> Bool [ghcFlags] :: SharedDaemonOptions -> Maybe [String] [projectType] :: SharedDaemonOptions -> Maybe PackageDB instance GHC.Show.Show Language.Haskell.Tools.Refactor.CLI.CLIOptions