Documentation ¶
Index ¶
- func AssignOptionalStringPtr(flagValue string) *string
- func AssignStringField(flagValue string, fieldName string, inputFunc func(string) (string, error)) (string, error)
- func FlagFileUnmarshalJSON(path string, request any) error
- func Format(commands ...string) string
- func FormatAskFieldRequired(field string) string
- func ParseAndAssign[T any](value string, parseFunc func(string) (T, error)) (*T, error)
- func UnmarshalJSONFromReader(file io.Reader, object any) error
- func WriteDetailsToFile(data []byte, outPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignOptionalStringPtr ¶ added in v1.25.0
func AssignStringField ¶ added in v1.25.0
func FlagFileUnmarshalJSON ¶ added in v1.25.0
func FormatAskFieldRequired ¶ added in v1.25.0
func ParseAndAssign ¶ added in v1.25.0
func UnmarshalJSONFromReader ¶ added in v1.25.0
func WriteDetailsToFile ¶ added in v1.25.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.