skybet / cali

Cali Automation Layout Initialiser
MIT License
32 stars 7 forks source link

expose cli.Name such that Cali apps can get their own name #47

Closed wheresalice closed 6 years ago

wheresalice commented 6 years ago

I think this is all that needs to be changed in order to expose cli.Name. This is definitely working the the Cali Lite fork I have where I'm playing around with worker pools.

    var taskFunc calilite.TaskFunc = func(t *calilite.Task, args []string) {
        appName := cli.Name
        log.Infof("appname: %s", appName)