class documentation
class Command(ScrapyCommand): (source)
Undocumented
Method | run |
Entry point for running commands |
Method | short |
A short description of the command |
Method | syntax |
Command syntax (preferably one-line). Do not include command name. |
Class Variable | default |
Undocumented |
Class Variable | requires |
Undocumented |
Instance Variable | exitcode |
Undocumented |
Property | templates |
Undocumented |
Method | _copytree |
Since the original function always creates the directory, to resolve the issue a new function had to be created. It's a simple copy and was reduced for this case. |
Method | _is |
Undocumented |
Inherited from ScrapyCommand
:
Method | __init__ |
Undocumented |
Method | add |
Populate option parse with options available for this command |
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 | long |
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 | process |
Undocumented |
Method | set |
Undocumented |
Class Variable | crawler |
Undocumented |
Instance Variable | settings |
Undocumented |
Instance Variable | _crawler |
Undocumented |
overrides
scrapy.commands.ScrapyCommand.syntax
Command syntax (preferably one-line). Do not include command name.