refactor show ouput

fixes line wrapping on long texts
This commit is contained in:
Michael Yang
2024-09-11 11:01:30 -07:00
parent 735a0ca2e4
commit ecab6f1cc5
3 changed files with 277 additions and 105 deletions

View File

@@ -371,7 +371,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
switch args[1] {
case "info":
showInfo(resp)
_ = showInfo(resp, os.Stderr)
case "license":
if resp.License == "" {
fmt.Println("No license was specified for this model.")