blob: bc6a901152166dca121f5af03e4efc13a44def17 [file] [log] [blame] [edit]
package cmd
import (
"fmt"
"github.com/Masterminds/cookoo"
)
// PrintName prints the name of the project.
//
// This comes from Config.Name.
func PrintName(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt) {
cfg := p.Get("conf", nil).(*Config)
fmt.Println(cfg.Name)
return nil, nil
}