napkin-cli-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Cli.Interactive.Interactive

Synopsis

Documentation

data SpecFolders #

Instances

Instances details
Eq SpecFolders # 
Instance details

Defined in Napkin.Cli.Interactive.Interactive

data InteractiveCommandOptions #

Instances

Instances details
Generic InteractiveCommandOptions # 
Instance details

Defined in Napkin.Cli.Interactive.Interactive

Associated Types

type Rep InteractiveCommandOptions 
Instance details

Defined in Napkin.Cli.Interactive.Interactive

type Rep InteractiveCommandOptions = D1 ('MetaData "InteractiveCommandOptions" "Napkin.Cli.Interactive.Interactive" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) (C1 ('MetaCons "InteractiveCommandOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "specFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFilesWithOverrides) :*: S1 ('MetaSel ('Just "autoReload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "liveMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LiveMode) :*: (S1 ('MetaSel ('Just "interpolationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationMode) :*: S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SpecMetaArgsOpt])))))
type Rep InteractiveCommandOptions # 
Instance details

Defined in Napkin.Cli.Interactive.Interactive

type Rep InteractiveCommandOptions = D1 ('MetaData "InteractiveCommandOptions" "Napkin.Cli.Interactive.Interactive" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) (C1 ('MetaCons "InteractiveCommandOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "specFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFilesWithOverrides) :*: S1 ('MetaSel ('Just "autoReload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "liveMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LiveMode) :*: (S1 ('MetaSel ('Just "interpolationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationMode) :*: S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SpecMetaArgsOpt])))))

chooseInteractiveCommand :: ToNapkinError e => InteractiveCommandOptions -> LogOptions -> InteractiveAction e -> CLICommand #

Choose whether to run a reloadable acton interactively or not.

autoReloadAction :: ToNapkinError e => InteractiveCommandOptions -> LogOptions -> InteractiveAction e -> CLICommand #

Wait for a spec file or a Haskell file to change and reload action.