Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Distribution.CommandLine
Synopsis
- writeManpages :: FilePath -> FilePath -> IO ()
- writeBashCompletions :: String -> IO ()
- setManpathBash :: IO ()
- setManpathZsh :: IO ()
- setManpathFish :: IO ()
- setManpath :: IO ()
- writeTheFuck :: IO ()
Documentation
As an example, if your source tarball contains a file man/madlang.1
you
could use
writeManpages "man/madlang.1" "madlang.1"
Add a line to the user's bashrc
so that command-line completions work
automatically.
setManpathBash :: IO () Source #
Add a line exporting the modified MANPATH
to the user's bashrc
, if it
does not exist already.
Since: 0.2.1.0
setManpathZsh :: IO () Source #
setManpathFish :: IO () Source #
setManpath :: IO () Source #
Deprecated: Use setManpathBash or setManpathZsh
writeTheFuck :: IO () Source #
Write a set of rules based on optparse-applicative for the command-line tool fuck.