Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- writeSh :: FilePath -> Script -> IO ()
- renderScript :: Script -> String
- emptyScript :: Script -> Bool
- data CmdVerbosity
- = Debug
- | Verbose
- | OnlyStdErr
- | Quiet
- data Cwd
- data User
- data Script
Documentation
writeSh :: FilePath -> Script -> IO () Source #
Convert script
to bash-shell-script written to file
and make file
executable.
renderScript :: Script -> String Source #
data CmdVerbosity Source #
Instances
Instances
Eq Cwd Source # | |
Data Cwd Source # | |
Defined in B9.ShellScript gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cwd -> c Cwd # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cwd # dataTypeOf :: Cwd -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cwd) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cwd) # gmapT :: (forall b. Data b => b -> b) -> Cwd -> Cwd # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cwd -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cwd -> r # gmapQ :: (forall d. Data d => d -> u) -> Cwd -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Cwd -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cwd -> m Cwd # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cwd -> m Cwd # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cwd -> m Cwd # | |
Read Cwd Source # | |
Show Cwd Source # | |
Generic Cwd Source # | |
Hashable Cwd Source # | |
Defined in B9.ShellScript | |
Binary Cwd Source # | |
NFData Cwd Source # | |
Defined in B9.ShellScript | |
type Rep Cwd Source # | |
Defined in B9.ShellScript |
Instances
Eq User Source # | |
Data User Source # | |
Defined in B9.ShellScript gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User # dataTypeOf :: User -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) # gmapT :: (forall b. Data b => b -> b) -> User -> User # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r # gmapQ :: (forall d. Data d => d -> u) -> User -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User # | |
Read User Source # | |
Show User Source # | |
Generic User Source # | |
Hashable User Source # | |
Defined in B9.ShellScript | |
Binary User Source # | |
NFData User Source # | |
Defined in B9.ShellScript | |
type Rep User Source # | |
Defined in B9.ShellScript type Rep User = D1 (MetaData "User" "B9.ShellScript" "b9-0.5.68-5WM8gJpIEee4nsAnabZ1lr" False) (C1 (MetaCons "User" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "NoUser" PrefixI False) (U1 :: Type -> Type)) |
In FilePath [Script] | |
As String [Script] | |
IgnoreErrors Bool [Script] | |
Verbosity CmdVerbosity [Script] | |
Begin [Script] | |
Run FilePath [String] | |
NoOP |