{"modulePath":"github.com/smartcontractkit/chainlink-testing-framework","version":"v1.35.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package clihelper\n\n## Functions\n\n```go\nfunc Color(color CliColor, s string) string\n```\n\n```go\nfunc DefaultReadLineHandler(b []byte) error\n```\n\n```go\nfunc ReadLine(ctx context.Context, reader io.Reader, handler CliOutputHandler) error\n```\nReadline reads from the reader and calls the handler for each line\n\n## Types\n\n```go\ntype BoolFlag struct {\n\tIsSet bool\n\tValue bool\n}\n```\nBoolFlag is a custom flag type to capture if a flag has been explicitly set.\n\n```go\nfunc (f *BoolFlag) Set(s string) error\n```\nSet is the method to set the flag value, part of the flag.Value interface.\n\n```go\nfunc (f *BoolFlag) String() string\n```\nString is the method to format the flag's value, part of the flag.Value interface.\n\n```go\ntype CliColor string\n```\n\n```go\nconst (\n\tColorGreen  CliColor = \"\\033[0;32m\"\n\tColorYellow CliColor = \"\\033[0;33m\"\n\tColorRed    CliColor = \"\\033[0;31m\"\n\tColorReset  CliColor = \"\\033[0m\"\n)\n```\n\n```go\ntype CliOutputHandler func([]byte) error\n```\nCliOutputHandler is a function that handles a line of output\n\n","path":"github.com/smartcontractkit/chainlink-testing-framework/utils/clihelper","name":"clihelper","synopsis":"","isRedistributable":true}
