Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes a few of the questions. I removed the path, because I couldn't decide which path it should be - cluster, "current", or workload? If you change it, what happens to all the other ones, do they adjust "automatically" or not? For ssh-hostname and token-auth, it just looked like extra work to figure out how it works. For teams, I'm unsure how to test them, so leaving that as out of scope. On the other hand, it does add a question for your PAT. Because if we don't ask for a PAT, then flux will, and I don't want it to, so now we ask for it. Meanwhile, for defaults, I've added defaults everywhere, and removed the old isRequired because everything we ask is really required. For defaults, I've made the code highly opportunistic - if it guesses wrong, that's OK, you can just change it, so let's guess everything. As a result, I've removed any text that mentions the default - the default is now whatever we guessed. For booleans, you almost by definition have a default (because the absence of it being true means it's false) - I'm sure my defaults aren't the best ones, but that's OK, because you can change them (for what it's worth, "private" only affects repository creation, so it's only if it's a brand new repo that's important).
- Loading branch information