github-workflow-commands-0.0.1.0: GitHub Actions workflow commands
Safe HaskellSafe-Inferred
LanguageGHC2021

GitHub.Workflow.Command.Syntax

Synopsis

Command

data Command Source #

A GitHub workflow command

A Command consists of:

Of these, only Name is always required. Some particular types of command require a message or have restrictions on what properties they support or require.

Instances

Instances details
IsString Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

Methods

fromString :: String -> Command #

Show Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

Eq Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Ord Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

HasMessage Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

HasName Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

HasProperties Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

ToByteString Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

command :: Name -> Command Source #

Construct a minimal command with a command Name e.g. "warning" or "error"

See the property and message lenses for other information include in a command.

class ToCommand a where Source #

Methods

addToCommand :: a -> Command -> Command Source #

Instances

Instances details
ToCommand Debug Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Debug

ToCommand Error Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Error

ToCommand Notice Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Notice

ToCommand Warning Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Warning

ToCommand GroupEnd Source # 
Instance details

Defined in GitHub.Workflow.Command.Grouping

ToCommand GroupStart Source # 
Instance details

Defined in GitHub.Workflow.Command.Grouping

ToCommand AddMask Source # 
Instance details

Defined in GitHub.Workflow.Command.Masking

ToCommand ResumeCommands Source # 
Instance details

Defined in GitHub.Workflow.Command.Stopping

ToCommand StopCommands Source # 
Instance details

Defined in GitHub.Workflow.Command.Stopping

(IsAnnotationType a, HasMessage a, GetProperties a) => ToCommand (GenericAnnotation a) Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Generic

Name

newtype Name Source #

Constructors

Name 

Fields

Instances

Instances details
IsString Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

Methods

fromString :: String -> Name #

Show Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Eq Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Ord Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

(>=) :: Name -> Name -> Bool #

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

HasName Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

ToByteString Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

class HasName a where Source #

Methods

name :: Lens' a Name Source #

Instances

Instances details
HasName Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

HasName Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

Message

Properties

newtype Key Source #

Constructors

Key 

Fields

Instances

Instances details
IsString Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

Methods

fromString :: String -> Key #

Show Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

Eq Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Ord Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

Methods

compare :: Key -> Key -> Ordering #

(<) :: Key -> Key -> Bool #

(<=) :: Key -> Key -> Bool #

(>) :: Key -> Key -> Bool #

(>=) :: Key -> Key -> Bool #

max :: Key -> Key -> Key #

min :: Key -> Key -> Key #

ToByteString Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

newtype Value Source #

Constructors

Value 

Fields

Instances

Instances details
IsString Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

Methods

fromString :: String -> Value #

Show Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

Eq Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

Ord Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

Methods

compare :: Value -> Value -> Ordering #

(<) :: Value -> Value -> Bool #

(<=) :: Value -> Value -> Bool #

(>) :: Value -> Value -> Bool #

(>=) :: Value -> Value -> Bool #

max :: Value -> Value -> Value #

min :: Value -> Value -> Value #

ToByteString Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

Output

class ToByteString a where Source #

Minimal complete definition

toByteStringBuilder

Instances

Instances details
ToByteString Debug Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Debug

ToByteString Error Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Error

ToByteString Notice Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Notice

ToByteString Warning Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Warning

ToByteString Command Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command

ToByteString Key Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Key

ToByteString Message Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Message

ToByteString Name Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Name

ToByteString Properties Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Properties

ToByteString Value Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Value

ToCommand a => ToByteString (GenericAnnotation a) Source # 
Instance details

Defined in GitHub.Workflow.Command.Annotation.Commands.Generic

ToCommand a => ToByteString (ByteStringViaCommand a) Source # 
Instance details

Defined in GitHub.Workflow.Command.Syntax.Command