You may find a need to check if a repository is already initialized, perhaps to prevent your script from initializing a repository multiple times. The command snapshots may be used for this purpose
This is probably better than doing init every time in status
https://restic.readthedocs.io/en/latest/075_scripting.html#check-if-a-repository-is-already-initialized
This is probably better than doing init every time in status