Ship as tm with install to GOPATH/bin and sandbox env overrides.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Skruecken
2026-10-19 13:55:54 +02:00
co-authored by Cursor
parent 2dcab9e4d8
commit f3a592f3ea
8 changed files with 110 additions and 19 deletions
+6 -2
View File
@@ -18,7 +18,7 @@ func main() {
if len(os.Args) > 1 {
switch os.Args[1] {
case "version", "--version", "-v":
fmt.Printf("%s %s\n", config.AppName, version.BuildVersion)
fmt.Printf("%s %s\n", config.CliName, version.BuildVersion)
return
case "help", "--help", "-h":
printHelp()
@@ -69,5 +69,9 @@ Usage:
%s version Print build version
%s help Show this help
`, config.AppName, config.AppName, config.AppName, config.AppName)
Env:
TASK_MASTER_HOME Override home for config/data (dev/demo sandbox)
TASK_MASTER_DATA_DIR Override data directory only
`, config.CliName, config.CliName, config.CliName, config.CliName)
}