-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Helper setup scripts for packaging command-line tools. -- -- Provides functions to set up manpages and shell completions. Intended -- to be used in the Setup.hs module. @package cli-setup @version 0.2.0.4 module Distribution.CommandLine -- | As an example, if your source tarball contains a file -- man/madlang.1 you could use -- --
--   writeManpages "man/madlang.1" "madlang.1"
--   
writeManpages :: FilePath -> FilePath -> IO () -- | Add a line to the user's bashrc so that command-line -- completions work automatically. writeBashCompletions :: String -> IO () -- | Add a line exporting the modified MANPATH to the user's -- bashrc, if it does not exist already. setManpath :: IO () -- | Write a set of rules based on optparse-applicative for the -- command-line tool fuck. writeTheFuck :: IO ()