omni
omni copied to clipboard
`suggest_clone` should clone all other repos first, then do all the `omni up` steps
There are two main uses for suggest_clone:
- cloning another repository that can be useful to provide other commands the current repository depend on
- cloning another repository that we depend on to run some operations, maybe including during
omni up
For 1 we don't really care about when the clone is happening vs. the omni up.
For 2, we do want the clone to happen before omni up.
We also already handle the cloning of all before calling all omni up for all the suggested repositories... so might be more fitting to handle all in the same way (user just cloned current repo, other repos are suggested to clone then cloned, then we run omni up for all cloned repos, suggested or current, maybe even handling a dependency tree for that?)