finishing sqlite changes

- finished default/active server logic
- dev done
- needs testing
This commit is contained in:
2025-06-18 18:38:01 -04:00
parent fe37cac2da
commit c15c16be8d
19 changed files with 254 additions and 69 deletions

View File

@@ -14,8 +14,7 @@ import (
var deleteCmd = &cobra.Command{
Use: "delete",
Example: "mctl command delete <name>",
// Short: "Deletes a server",
// Long: `Deletes server configuration`,
Short: "Deletes a command from the database",
Run: func(cmd *cobra.Command, args []string) {
db, err := database.New()
cobra.CheckErr(err)