fn/framework support for reading from stdin in standalone

- speficy '-' to read from stdin when running standalone
This commit is contained in:
Phillip Wittrock
2020-11-21 09:15:31 -08:00
parent 7e01aec5a4
commit 82b2d83ede
4 changed files with 107 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ type ResultsChecker struct {
ExpectedErrorFilename string
// Command provides the function to run.
Command func() cobra.Command
Command func() *cobra.Command
}
// Assert asserts the results for functions