4 Commits

Author SHA1 Message Date
8daa621528 delete added, more updates see below
- readme updates
- delete command added
- commands now saved in a map vs fields
- login and run now ensure config has been run to prevent errors
2025-04-17 17:09:16 -04:00
7f090dbce7 update readme and version bump 2025-04-17 11:37:37 -04:00
f943639a88 lots o updates
- moved mcr code to package
- added the save, run, and view commands
- commands can now be saved
- saved commands support placeholders
2025-04-17 11:20:39 -04:00
bef3521770 subcommands and structure
- added run, save, and view subcommands
- WIP still
- moved encryption and decryption to util file
- a good start
2025-04-16 19:25:21 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/* /*
Copyright © 2025 Jake jake.young.dev@gmail.com Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/ */
package cmd package cmd

View File

@@ -32,7 +32,7 @@ var viewCmd = &cobra.Command{
return return
} }
fmt.Printf("Command: %s\n", custom.(string)) fmt.Printf("Command: %s", custom.(string))
}, },
PreRunE: func(cmd *cobra.Command, args []string) error { PreRunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 { if len(args) == 0 {