<commit_before>package main

import (
	"fmt"
	"os/exec"

	"github.com/flynn/flynn-controller/client"
	ct "github.com/flynn/flynn-controller/types"
)

var cmdCreate = &Command{
	Run:   runCreate,
	Usage: "create [<name>]",
	Short: "create an app",
	Long:  `Create an application in Flynn`,
}

func runCreate(cmd *Command, args []string, client *controller.Client) error {
	if len(args) > 1 {
		cmd.printUsage(true)
	}

	app := &ct.App{}
	if len(args) > 0 {
		app.Name = args[0]
	}

	if err := client.CreateApp(app); err != nil {
		return err
	}

	exec.Command("git", "remote", "add", "flynn", gitURLPre(serverConf.GitHost)+app.Name+gitURLSuf).Run()
	fmt.Println(app.Name)
	return nil
}
<commit_msg>cli: Change create output<commit_after>package main

import (
	"log"
	"os/exec"

	"github.com/flynn/flynn-controller/client"
	ct "github.com/flynn/flynn-controller/types"
)

var cmdCreate = &Command{
	Run:   runCreate,
	Usage: "create [<name>]",
	Short: "create an app",
	Long:  `Create an application in Flynn`,
}

func runCreate(cmd *Command, args []string, client *controller.Client) error {
	if len(args) > 1 {
		cmd.printUsage(true)
	}

	app := &ct.App{}
	if len(args) > 0 {
		app.Name = args[0]
	}

	if err := client.CreateApp(app); err != nil {
		return err
	}

	exec.Command("git", "remote", "add", "flynn", gitURLPre(serverConf.GitHost)+app.Name+gitURLSuf).Run()
	log.Printf("Created %s", app.Name)
	return nil
}

{'fraction_non_alphanumeric': 0.16983791402396053, 'fraction_numerical': 0.004228329809725159, 'mean_word_length': 4.182481751824818, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5402550', 'n_tokens_mistral': 570, 'n_tokens_neox': 546, 'n_words': 125}