class documentation

class Command(ScrapyCommand):

Known subclasses: scrapy.commands.view.Command

View In Hierarchy

Undocumented

Method ​_print​_bytes Undocumented
Method ​_print​_headers Undocumented
Method ​_print​_response Undocumented
Method add​_options Populate option parse with options available for this command
Method long​_desc A long description of the command. Return short description when not available. It cannot contain newlines, since contents will be formatted by optparser which removes newlines and wraps text.
Method run Entry point for running commands
Method short​_desc A short description of the command
Method syntax Command syntax (preferably one-line). Do not include command name.
Class Variable requires​_project Undocumented

Inherited from ScrapyCommand:

Method __init__ Undocumented
Method help An extensive help for the command. It will be shown when using the "help" command. It can contain newlines, since no post-formatting will be applied to its contents.
Method process​_options Undocumented
Method set​_crawler Undocumented
Class Variable crawler​_process Undocumented
Class Variable default​_settings Undocumented
Class Variable exitcode Undocumented
Instance Variable ​_crawler Undocumented
Instance Variable settings Undocumented
def _print_bytes(self, bytes_):

Undocumented

def _print_headers(self, headers, prefix):

Undocumented

def _print_response(self, response, opts):

Undocumented

def add_options(self, parser):
Populate option parse with options available for this command
def long_desc(self):
A long description of the command. Return short description when not available. It cannot contain newlines, since contents will be formatted by optparser which removes newlines and wraps text.
def run(self, args, opts):
Entry point for running commands
def short_desc(self):
A short description of the command
def syntax(self):
Command syntax (preferably one-line). Do not include command name.
requires_project: bool =