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 57fc5e0807 - Show all commits

View File

@ -16,8 +16,7 @@ import (
var clearCmd = &cobra.Command{
Use: "clear",
Short: "Clear config file",
Long: `Removes the configuration file from the system. The
config command must be run before use after clearing.`,
Long: `Clears all configuration values for mctl`,
Run: func(cmd *cobra.Command, args []string) {
home, err := os.UserHomeDir()
cobra.CheckErr(err)