Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Repository files navigation

Build Status

TaskForce

a simple, functional task runner without the plugin nonsense!

package main
import (
"fmt""os""github.com/cjtoolkit/taskforce"
)
functask() *taskforce.TaskForce {
tf:=taskforce.InitTaskForce()
tf.Register("hello", func() {
fmt.Println("Hello,")
})
tf.Register("world", func() {
fmt.Println("World.")
})
tf.Register("echo-world", func() {
tf.ExecCmd("echo", "world")
})
tf.Register("both", func() {
tf.Run("hello", "world")
})
returntf
}
funcmain() {
task().Run(os.Args[1:]...)
}

About

📒 Automated Task Runner

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages