fixup cursor, blinking

This commit is contained in:
2025-07-13 17:39:30 -07:00
parent 001992a688
commit 3fdac7d9d8
8 changed files with 167 additions and 24 deletions

View File

@@ -25,7 +25,7 @@ var rootCmd = &cobra.Command{
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
dbPath = args[0]
if _, err := os.Stat(dbPath); os.IsNotExist(err) {
return fmt.Errorf("database file '%s' does not exist", dbPath)
}
@@ -56,4 +56,4 @@ func Execute() error {
func init() {
rootCmd.Flags().StringVarP(&dbPath, "database", "d", "", "Path to SQLite database file")
}
}