code: def register_generic_run_arguments(parser, required=True):
      
      dummy_command = BaseGraphCommand()
      dummy_command.required = required
      dummy_command.add_arguments(parser)
      return parser
docs: Only there for backward compatibility with third party extensions.
      TODO: This should be deprecated (using the @deprecated decorator) in 0.7, and removed in 0.8 or 0.9.