ohmyzsh/plugins/scrapy/README.md
2015-04-05 23:31:59 +05:30

33 lines
No EOL
895 B
Markdown

## Scrapy zsh completion
Auto completion for scrapy command-line tool
#### commands
```
$ scrapy [tab]
scrapy commands
check -- Check spider contracts,
crawl -- Run a spider,
edit -- Edit spider,
fetch -- Fetch a URL using the Scrapy downloader,
genspider -- Generate new spider using pre-defined templates,
list -- List available spiders,
parse -- Parse URL (using its spider) and print the results,
runspider -- Run a self-contained spider (without creating a project),
settings -- Get settings values,
shell -- Interactive scraping console,
startproject -- Create new project,
version -- Print Scrapy version,
view -- Open URL in browser, as seen by Scrapy
```
if check/crawl/edit commands are chosen,
```
$ scrapy check [tab]
dmoz
```
spiders are listed, if you are in a scrapy project directory.