idempotent repo for commands