feat: some basic commands

This commit is contained in:
2026-02-05 20:41:35 -05:00
parent 22e8a99362
commit 7750d8615f
8 changed files with 274 additions and 54 deletions

View File

@@ -1,18 +0,0 @@
// Package "cli" provides miscellaneous helper functions.
package cli
import (
"fmt"
"os"
)
// A helper function to handle errors in the program. If it is given an error,
// the program will exist, and print the error.
func HandleError(err error) {
if err == nil {
return
}
fmt.Fprintln(os.Stderr, "ERROR:", err)
os.Exit(1)
}