{"modulePath":"github.com/replicate/cli","version":"v0.8.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package util\n\n## Functions\n\n```go\nfunc CoerceTypes(inputs map[string]string, schema *openapi3.Schema) (map[string]interface{}, error)\n```\nCoerceTypes converts a map of string inputs to the types specified in the schema\n\n```go\nfunc DownloadPrediction(ctx context.Context, prediction replicate.Prediction, dir string) error\n```\n\n```go\nfunc GetPipedArgs() (string, error)\n```\n\n```go\nfunc GetSchemas(version replicate.ModelVersion) (input *openapi3.Schema, output *openapi3.Schema, err error)\n```\nGetSchemas returns the input and output schemas for a model version\n\n```go\nfunc IsTTY() bool\n```\nIsTTY checks if is a terminal.\n\n```go\nfunc ParseInputs(ctx context.Context, r8 *replicate.Client, args []string, stdin string, sep string) (map[string]string, error)\n```\n\n```go\nfunc SortedKeys(properties openapi3.Schemas) []string\n```\nSortedKeys returns the keys of the properties in the order they should be displayed\n\n```go\nfunc StatusSymbol(status replicate.Status) string\n```\n\n","path":"github.com/replicate/cli/internal/util","name":"util","synopsis":"","isRedistributable":true}
