Add TODOs

This commit is contained in:
David Dworken 2022-09-27 22:15:31 -07:00
parent 070f8cf3d3
commit a108268925
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import (
const (
// This password is for the postgres cluster running in my k8s cluster that is not publicly accessible. Some day I'll migrate it out of the code and rotate the password, but until then, this is fine.
// TODO: Migrate this
PostgresDb = "postgresql://postgres:O74Ji4735C@postgres-postgresql.default.svc.cluster.local:5432/hishtory?sslmode=disable"
)

View File

@ -49,6 +49,7 @@ func main() {
}
lib.CheckFatalError(lib.Redact(ctx, query, force))
case "init":
// TODO: prompt people if they run hishtory init and already have a bunch of history entries
lib.CheckFatalError(lib.Setup(os.Args))
case "install":
lib.CheckFatalError(lib.Install())