napkin-cli-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Cli.Common

Documentation

helpWithAllPossibleValues :: forall (f :: Type -> Type) a. (Enum a, Show a, Bounded a) => String -> Mod f a #

helpWithAllPossibleValuesWith :: forall (f :: Type -> Type) a. (Enum a, Bounded a) => (a -> String) -> Maybe a -> String -> Mod f a #

data SpecFilesWithOverrides #

Instances

Instances details
Generic SpecFilesWithOverrides 
Instance details

Defined in Napkin.Cli.Types

Associated Types

type Rep SpecFilesWithOverrides 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFilesWithOverrides = D1 ('MetaData "SpecFilesWithOverrides" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "SpecFilesWithOverrides" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: (S1 ('MetaSel ('Just "extraPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SpecFileWithMergeStrategy]) :*: S1 ('MetaSel ('Just "overrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Patch)))))
Show SpecFilesWithOverrides 
Instance details

Defined in Napkin.Cli.Types

Eq SpecFilesWithOverrides 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFilesWithOverrides 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFilesWithOverrides = D1 ('MetaData "SpecFilesWithOverrides" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "SpecFilesWithOverrides" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: (S1 ('MetaSel ('Just "extraPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SpecFileWithMergeStrategy]) :*: S1 ('MetaSel ('Just "overrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Patch)))))

data SpecFileArrayMergeStrategy #

Constructors

MatchIndex 
Prepend 
Append 
Replace 

Instances

Instances details
Bounded SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Enum SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Generic SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Associated Types

type Rep SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileArrayMergeStrategy = D1 ('MetaData "SpecFileArrayMergeStrategy" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) ((C1 ('MetaCons "MatchIndex" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Prepend" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Append" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Replace" 'PrefixI 'False) (U1 :: Type -> Type)))
Show SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Eq SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileArrayMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileArrayMergeStrategy = D1 ('MetaData "SpecFileArrayMergeStrategy" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) ((C1 ('MetaCons "MatchIndex" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Prepend" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Append" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Replace" 'PrefixI 'False) (U1 :: Type -> Type)))

data SpecFileWithMergeStrategy #

Instances

Instances details
Generic SpecFileWithMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Associated Types

type Rep SpecFileWithMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileWithMergeStrategy = D1 ('MetaData "SpecFileWithMergeStrategy" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "SpecFileWithMergeStrategy" 'PrefixI 'True) (S1 ('MetaSel ('Just "strategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFileArrayMergeStrategy) :*: S1 ('MetaSel ('Just "extraPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))
Show SpecFileWithMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

Eq SpecFileWithMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileWithMergeStrategy 
Instance details

Defined in Napkin.Cli.Types

type Rep SpecFileWithMergeStrategy = D1 ('MetaData "SpecFileWithMergeStrategy" "Napkin.Cli.Types" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "SpecFileWithMergeStrategy" 'PrefixI 'True) (S1 ('MetaSel ('Just "strategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFileArrayMergeStrategy) :*: S1 ('MetaSel ('Just "extraPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))