Ship as tm with install to GOPATH/bin and sandbox env overrides.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user