def METHOD_NAME(self, parser):
    if not self.subcommand:
        parser.add_argument(
            'subcommand',
            choices=list(self.subcommands),
        )
    self.add_global_arguments(parser)