Documentation
¶
Overview ¶
Package cli provides additional features for CLIRunner.
Index ¶
- func Decode[Input, Option, Solution any, Decoder decode.Decoder](d Decoder) func(run.Runner[run.CLIRunnerConfig, Input, Option, Solution])
- func Encode[Input, Option, Solution any, Encoder encode.Encoder](e Encoder) func(run.Runner[run.CLIRunnerConfig, Input, Option, Solution])
- func Validate[Input, Option, Solution any](v run.Validator[Input]) func(run.Runner[run.CLIRunnerConfig, Input, Option, Solution])
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode[Input, Option, Solution any, Decoder decode.Decoder]( d Decoder, ) func( run.Runner[run.CLIRunnerConfig, Input, Option, Solution], )
Decode sets the decoder of a CLIRunner.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.