Open stevenjlm opened 2 days ago
@stevenjlm fair point. w.r.t. naming of the new option; I think -s/--skip-if-exists describes the purpose of the flag better.
On a separate note, @stevenjlm, would you be interested in contributing the fix to this issue?
Yes, I'm happy to do so. I'll work on a PR soon.
Happy to write a PR for this if we agree it helps.
🚀 Feature
An "-n" or "--no" option for
aim init
, so that it only creates a new repo if one does not already exist.Motivation
While running Aim in Kubernetes, I need to run aim init --repo /aim to make sure there is a repo for aim; however, since I have persistent storage, I would rather the --init option leave the repo intact if it already exists. Since this is happening in a container, I cannot answer "no" to the prompt.
Pitch
There is already a "-y" or "--yes" option, I'm thinking of just adding "-n" or "--no" option.
Alternatives