docs: Add the backup-restore implementation plan
Thirteen tasks, each ending in a testable deliverable and a commit. Also drops --log-level from the spec: the tool's whole output is what it is telling the operator, and a level that could hide a key warning is worth not having.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -208,8 +208,10 @@ vantagectl root; prints help
|
||||
```
|
||||
|
||||
Persistent flags on the root command, so every subcommand accepts them and they
|
||||
are documented once: `--mongo-uri` (env `MONGO_URI`), `--db` (env `MONGO_DB`,
|
||||
falling back to the URI path), `--log-level`.
|
||||
are documented once: `--mongo-uri` (env `MONGO_URI`) and `--db` (env `MONGO_DB`,
|
||||
falling back to the URI path). There is no `--log-level`: the tool's entire
|
||||
output is what it is telling the operator, and a level that could hide a key
|
||||
warning is worth not having.
|
||||
|
||||
Environment fallback is wired with an explicit `Changed` check on each flag
|
||||
rather than through viper. Viper is a configuration-file and remote-config
|
||||
|
||||
Reference in New Issue
Block a user