@@ -2,20 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace GarethEllis\Tldr\Console\Command; |
| 4 | 4 | |
| 5 | +use GarethEllis\Tldr\Cache\StashReader; |
|
| 5 | 6 | use GarethEllis\Tldr\Console\Output\PageOutput; |
| 6 | 7 | use GarethEllis\Tldr\Fetcher\CacheFetcher; |
| 7 | -use GarethEllis\Tldr\Parser\MarkdownParser; |
|
| 8 | -use GuzzleHttp\Exception\ClientException; |
|
| 9 | -use GuzzleHttp\Exception\RequestException; |
|
| 8 | +use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException; |
|
| 9 | +use GarethEllis\Tldr\Fetcher\RemoteFetcher; |
|
| 10 | +use GuzzleHttp\Client as Http; |
|
| 10 | 11 | use Symfony\Component\Console\Command\Command; |
| 11 | 12 | use Symfony\Component\Console\Input\InputArgument; |
| 12 | 13 | use Symfony\Component\Console\Input\InputInterface; |
| 13 | -use Symfony\Component\Console\Input\InputOption; |
|
| 14 | 14 | use Symfony\Component\Console\Output\OutputInterface; |
| 15 | -use GarethEllis\Tldr\Fetcher\RemoteFetcher; |
|
| 16 | -use GuzzleHttp\Client as Http; |
|
| 17 | -use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException; |
|
| 18 | -use GarethEllis\Tldr\Cache\StashReader; |
|
| 19 | 15 | |
| 20 | 16 | class TldrCommand extends Command |
| 21 | 17 | { |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace GarethEllis\Tldr\Fetcher; |
| 4 | 4 | |
| 5 | +use GarethEllis\Tldr\Cache\CacheWriterInterface; |
|
| 5 | 6 | use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException; |
| 7 | +use GarethEllis\Tldr\Fetcher\Exception\RemoteFetcherException; |
|
| 6 | 8 | use GarethEllis\Tldr\Page\TldrPage; |
| 7 | 9 | use GuzzleHttp\Client; |
| 8 | -use GarethEllis\Tldr\Cache\CacheWriterInterface; |
|
| 9 | -use GarethEllis\Tldr\Fetcher\Exception\RemoteFetcherException; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class RemoteFetcher |