feat: delete deprecated input

This commit is contained in:
2025-03-08 20:55:30 +07:00
parent 7b606129b8
commit e694fce7c7

View File

@@ -1,7 +1,6 @@
package cmd package cmd
import ( import (
"fmt"
"log" "log"
"nto_cli/utils" "nto_cli/utils"
"os" "os"
@@ -9,13 +8,6 @@ import (
"github.com/rivo/tview" "github.com/rivo/tview"
) )
func Input() (string, string) {
fmt.Print("struct name, path to file (including struct): ")
var structName, path string
fmt.Scan(&structName, &path)
return structName, path
}
func SelectionInput() ([]string, string) { func SelectionInput() ([]string, string) {
if len(os.Args) == 1 { if len(os.Args) == 1 {
log.Fatalf("Please provide path to models.go") log.Fatalf("Please provide path to models.go")