Intent of completion, --get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice|occurrence=1

All 1 exact test in this concept. Every test is marked by where it enters the hierarchy.