| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Shrun.Configuration.Data.Notify.Action
Description
Provides type for notifications.
Synopsis
Start
newtype NotifyActionStartSwitch Source #
Type for determining if we use the command's key for display, rather than the key itself.
Constructors
| MkNotifyActionStartSwitch Bool |
Instances
Complete
data NotifyActionComplete Source #
Determines for which complete actions we should send notifications.
Constructors
| NotifyActionCompleteFinal | Send a notification after all commands are completed. |
| NotifyActionCompleteCommand | Send notifications when each command completes. |
| NotifyActionCompleteAll | NotifyActionCompleteFinal and NotifyActionCompleteCommand. |
Instances
parseNotifyAction :: MonadFail m => Text -> m NotifyActionComplete Source #
Parses NotifyActionComplete.
notifyActionMeta :: IsString a => (Bool, [a]) Source #
Available NotifyActionComplete strings.