Renaming to vssm and adding a readme

This commit is contained in:
2026-06-05 19:39:32 -05:00
parent 8e575cab6e
commit ba5dd4f1ca
6 changed files with 112 additions and 45 deletions

14
main.go
View File

@@ -19,7 +19,7 @@ func main() {
log.Fatalf("Could not locate user home dir: %v", err)
}
configPath := filepath.Join(home, ".config", "vs-manager", "config.json")
configPath := filepath.Join(home, ".config", "vssm", "config.json")
cfg, err := LoadOrCreateConfig(configPath)
if err != nil {
log.Fatalf("Initialization failed: %v", err)
@@ -139,11 +139,11 @@ func fetchAndPrintStatus(cfg *AppConfig) {
}
func printUsage() {
fmt.Println("Vintage Story Server Manager")
fmt.Println("VintageStory Server Manager")
fmt.Println("\nUsage:")
fmt.Println(" go run . daemon Starts the background process supervisor")
fmt.Println(" go run . create <name> <version> Provisions baseline configuration and stores instance profile")
fmt.Println(" go run . start <name> Launches an existing server instance using stored profile")
fmt.Println(" go run . stop <name> Gracefully shuts down a server instance")
fmt.Println(" go run . cmd <name> \"<command>\" Dispatches a terminal console command down the pipe")
fmt.Println(" vssm daemon Starts the background process supervisor")
fmt.Println(" vssm create <name> <version> Provisions baseline configuration and stores instance profile")
fmt.Println(" vssm start <name> Launches an existing server instance using stored profile")
fmt.Println(" vssm stop <name> Gracefully shuts down a server instance")
fmt.Println(" vssm cmd <name> \"<command>\" Dispatches a terminal console command down the pipe")
}