new/clear-command #8

Merged
jake merged 5 commits from new/clear-command into main 2025-05-11 04:27:48 +00:00
Showing only changes of commit 57e8f3a775 - Show all commits

View File

@ -16,7 +16,7 @@ import (
var clearCmd = &cobra.Command{ var clearCmd = &cobra.Command{
Use: "clear", Use: "clear",
Short: "Clear config file", Short: "Clear config file",
Long: `Clears all configuration values for mctl`, Long: `Clears all configuration values for mctl, all server configuration will be lost`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
home, err := os.UserHomeDir() home, err := os.UserHomeDir()
cobra.CheckErr(err) cobra.CheckErr(err)