Renaming to vssm and adding a readme
This commit is contained in:
14
main.go
14
main.go
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user