Skip to content

Commit f0b1a8c

Browse files
committed
Adds a sync command
1 parent ccbb2c8 commit f0b1a8c

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

src/Commands/RefreshCommand.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Stolt\LeanPackage\Commands;
6+
7+
use Stolt\LeanPackage\Exceptions\PresetNotAvailable;
8+
use Symfony\Component\Console\Command\Command;
9+
use Symfony\Component\Console\Input\InputInterface;
10+
use Symfony\Component\Console\Output\OutputInterface;
11+
12+
class RefreshCommand extends Command
13+
{
14+
/**
15+
* Command configuration.
16+
*
17+
* @return void
18+
*/
19+
protected function configure(): void
20+
{
21+
$this
22+
->setName('refresh')
23+
->setDescription('Refresh a present .lpv file');
24+
}
25+
26+
/**
27+
* Execute command.
28+
*
29+
* @param InputInterface $input
30+
* @param OutputInterface $output
31+
*
32+
* @throws PresetNotAvailable
33+
* @return integer
34+
*/
35+
protected function execute(InputInterface $input, OutputInterface $output): int
36+
{
37+
38+
}
39+
}

0 commit comments

Comments
 (0)