Commit Graph
7 Commits
Author SHA1 Message Date
mathias e97205c4bf Hide changed connection lines behind -v/--verbose
set_local_db/set_dot_env diffs can contain secrets (connection
strings), so printing them unconditionally on every up/down leaked
credentials to stdout. Default output is now a line-count summary;
pass -v/--verbose to see the actual before/after lines.
2026-09-18 17:59:55 +02:00
mathias 3873987c19 Always update connections.env and fix double-toggled connection line
Drop the --legacy flag: set_local_db and toggle_index now run
unconditionally instead of only when -l was passed, since that was the
flag's only effect.

Fix set_dot_env writing the connection/RCC_CONNECTION line twice with
opposing polarity (once from the #docker pass, once from the #cidb
pass), which flipped it to the wrong value. Collapsed the three
separate open/read/write passes into one, toggling both sections and
the connection line in a single scan so the connection line is only
ever touched once.
2026-09-17 15:12:32 +02:00
mathias 481e3a1dcc implemented proper error handling, added README 2026-06-26 12:30:19 +02:00
Mathias Rothenhaeusler 758dbfa942 change argument order 2024-08-15 15:11:43 +02:00
Mathias Rothenhaeusler 009079742a added legacy mode 2024-06-02 15:47:54 +02:00
Mathias Rothenhaeusler 1dd669697e improved script 2024-05-21 07:48:52 +02:00
mathias 114a1accde Added Arguments 2024-01-21 12:37:43 +01:00