Parser
Contents
data Args Source #
Constructors
Structure for accepting arguments
Fields
-l flag (show files as a table)
-l
-s flag (show file sizes), implies -l
-s
-x flag (show dotfiles and directories)
-x
-p flag (display file permissions), implies -l
-p
-n flag (display line numbers), implies -l
-n
-t flag (display last modification time), implies -l
-t
-a flag (equivalent to -lapsnt)
-a
path to the directory to list
Defined in Parser
Methods
showsPrec :: Int -> Args -> ShowS
show :: Args -> String
showList :: [Args] -> ShowS
(==) :: Args -> Args -> Bool
(/=) :: Args -> Args -> Bool
args :: Parser Args Source #
Argument parser using optparse-applicative
optparse-applicative
opts :: ParserInfo Args Source #
expanded version to be actually executed by lsh
lsh