shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Data.Command

Description

Provides the Command wrapper for commands.

Synopsis

Documentation

data CommandP (p :: CommandPhase) Source #

Wrapper for shell commands.

Constructors

MkCommandP 

Fields

Instances

Instances details
(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "command" k (CommandP p) (CommandP p) a b Source # 
Instance details

Defined in Shrun.Data.Command

Methods

labelOptic :: Optic k NoIx (CommandP p) (CommandP p) a b Source #

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "key" k (CommandP p) (CommandP p) a b Source # 
Instance details

Defined in Shrun.Data.Command

Methods

labelOptic :: Optic k NoIx (CommandP p) (CommandP p) a b Source #

Generic (CommandP p) Source # 
Instance details

Defined in Shrun.Data.Command

Associated Types

type Rep (CommandP p) 
Instance details

Defined in Shrun.Data.Command

type Rep (CommandP p) = D1 ('MetaData "CommandP" "Shrun.Data.Command" "shrun-0.9-inplace" 'False) (C1 ('MetaCons "MkCommandP" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: CommandP p -> Rep (CommandP p) x #

to :: Rep (CommandP p) x -> CommandP p #

Show (CommandP p) Source # 
Instance details

Defined in Shrun.Data.Command

Methods

showsPrec :: Int -> CommandP p -> ShowS #

show :: CommandP p -> String #

showList :: [CommandP p] -> ShowS #

Eq (CommandP p) Source # 
Instance details

Defined in Shrun.Data.Command

Methods

(==) :: CommandP p -> CommandP p -> Bool #

(/=) :: CommandP p -> CommandP p -> Bool #

Hashable (CommandP p) Source # 
Instance details

Defined in Shrun.Data.Command

type Rep (CommandP p) Source # 
Instance details

Defined in Shrun.Data.Command

type Rep (CommandP p) = D1 ('MetaData "CommandP" "Shrun.Data.Command" "shrun-0.9-inplace" 'False) (C1 ('MetaCons "MkCommandP" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

type CommandP1 = CommandP 'CommandPhase1 Source #

Phase1 commands.

type CommandP2 = CommandP 'CommandPhase2 Source #

Phase2 commands.