示例#1
0
    def add_arguments(self, parser):
        super(Command, self).add_arguments(parser)
        command = MigrateCommand()

        skip_checks_action = parser._option_string_actions.pop(
            '--skip-checks', None)
        if skip_checks_action:
            parser._remove_action(skip_checks_action)

        command.add_arguments(parser)
 def add_arguments(self, parser):
     super(MigrateSchemasCommand, self).add_arguments(parser)
     command = MigrateCommand()
     command.add_arguments(parser)
 def add_arguments(self, parser):
     super().add_arguments(parser)
     MigrateCommand.add_arguments(self, parser)