Metadata-Version: 2.0
Name: shub-cli
Version: 1.0.2
Summary: A CLI at your hands to deal with the features of ScrapingHub.
Home-page: https://github.com/victormartinez/shub_cli
Author: Victor Martinez
Author-email: vcrmartinez@gmail.com
License: MIT
Keywords: cli
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: click-repl (==0.1.0)
Requires-Dist: click (==6.6)
Requires-Dist: hubstorage (==0.23.2)
Requires-Dist: prompt-toolkit (==1.0.7)
Requires-Dist: prompt-toolkit (==1.0.7)
Requires-Dist: Pygments (==2.1.3)
Requires-Dist: PyYAML (==3.12)
Requires-Dist: requests (==2.11.1)
Requires-Dist: retrying (==1.3.3)
Requires-Dist: scrapinghub (==1.8.0)
Requires-Dist: shub (==2.4.2)
Requires-Dist: six (==1.10.0)
Requires-Dist: terminaltables (==3.0.0)
Requires-Dist: toolz (==0.8.0)
Requires-Dist: wcwidth (==0.1.7)

# Scrapinghub CLI
----
A Command Line Interface at your hands to deal with the features of ScrapingHub.


![start-using](https://cloud.githubusercontent.com/assets/4680755/18898756/0ea42c0e-850a-11e6-801a-fdbd75915cdd.gif)


### Quick Start:

```
$ shub-cli repl
```
or

```
$ shub-cli -api '<API KEY>' -project <PROJECT_ID> repl
```

### Usage

##### Getting Jobs

```
> jobs [-tag tag] [-lacks tag] [-spider spider] [-state state] [-count count]
```

##### Getting a specific job
```
> job -id <id>
```

##### Getting a specific job along with the logs
```
> job -id <id> --with-logs
```


### Examples:

```
$ shub-cli repl

> jobs -count 100
> jobs -tag production -spider myspider -state finished
> job -id '10/10/1000'
```

### Help:
For help or suggestion please open an issue at the [Github Issues page](https://github.com/victormartinez/shub_cli/issues).

