Send codespace name to Stdout to enable scripting

This commit is contained in:
Gabriel Ramirez 2021-08-24 13:12:18 -05:00
parent 9cb8200732
commit 30be4c98f9

View file

@ -83,7 +83,9 @@ func Create() error {
return fmt.Errorf("error creating codespace: %v", err)
}
log.Printf("Codespace created: %s\n", codespace.Name)
log.Printf("Codespace created: ")
fmt.Fprintln(os.Stdout, codespace.Name)
return nil
}