File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ it is possible to remove this need by declaring a single command application::
8
8
#!/usr/bin/env php
9
9
<?php // bin/file-counter.php
10
10
require __DIR__.'/../vendor/autoload.php';
11
-
11
+
12
12
use Symfony\Component\Console\Input\InputArgument;
13
13
use Symfony\Component\Console\Input\InputInterface;
14
+ use Symfony\Component\Console\Input\InputOption;
14
15
use Symfony\Component\Console\Output\OutputInterface;
15
16
use Symfony\Component\Console\SingleCommandApplication;
16
-
17
+
17
18
(new SingleCommandApplication())
18
19
->setName('File Counter') // Optional
19
20
->setVersion('1.0.0') // Optional
@@ -34,9 +35,9 @@ it is possible to remove this need by declaring a single command application::
34
35
})
35
36
->run();
36
37
37
- Now run it with
38
+ Now run it with
38
39
39
- php bin/file-counter.php
40
+ php bin/file-counter.php
40
41
41
42
php bin/file-counter.php --all
42
43
You can’t perform that action at this time.
0 commit comments