See arighi/virtme-ng#181 for context.
virtme-ng wants to generate bash completion during its build, but it's not exactly clear how to do that using argcomplete. Compare this to argparse-manpage which provides instructions and library entry points to integration with build systems.
Is there any guidance available on this?