| Copyright | (c) 2017-2020 Kowainik |
|---|---|
| License | MPL-2.0 |
| Maintainer | Kowainik <xrom.xkov@gmail.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Life.Cli
Description
Command line options for life.
Synopsis
- data LifeCommand
- = Init (Maybe Owner)
- | Add PathOptions
- | Remove PathOptions
- | Push
- | Pull PullOptions
- newtype PathOptions = PathOptions {}
- data PullOptions = PullOptions {}
- parseCommand :: IO LifeCommand
Documentation
data LifeCommand Source #
Commands to execute
Constructors
| Init (Maybe Owner) | |
| Add PathOptions | |
| Remove PathOptions | |
| Push | |
| Pull PullOptions |
Instances
| Show LifeCommand Source # | |
Defined in Life.Cli Methods showsPrec :: Int -> LifeCommand -> ShowS # show :: LifeCommand -> String # showList :: [LifeCommand] -> ShowS # | |
newtype PathOptions Source #
Constructors
| PathOptions | |
Fields | |
Instances
| Show PathOptions Source # | |
Defined in Life.Cli Methods showsPrec :: Int -> PathOptions -> ShowS # show :: PathOptions -> String # showList :: [PathOptions] -> ShowS # | |
data PullOptions Source #
Constructors
| PullOptions | |
Fields | |
Instances
| Show PullOptions Source # | |
Defined in Life.Cli Methods showsPrec :: Int -> PullOptions -> ShowS # show :: PullOptions -> String # showList :: [PullOptions] -> ShowS # | |