Revert "Going from a REPL to a TUI"

This reverts commit 0162c14c1d.
This commit is contained in:
2026-01-05 10:32:57 +00:00
parent 0162c14c1d
commit 8d1e7c962f
9 changed files with 151 additions and 460 deletions
-27
View File
@@ -1,27 +0,0 @@
package cmd
import (
"esdi/tui"
"fmt"
"github.com/spf13/cobra"
)
func tuiCmdAction(cmd *cobra.Command, args []string) {
err := tui.Init()
if err != nil {
fmt.Printf("error running TUI: %s\n", err.Error())
}
}
// removeLabelCmd represents the removeLabel command
var tuiCmd = &cobra.Command{
Use: "tui",
Short: "runs an interactive application",
Long: ``,
Run: tuiCmdAction,
}
func init() {
rootCmd.AddCommand(tuiCmd)
}