SingleCommand   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 21
rs 10
c 1
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configure() 0 10 1
A execute() 0 5 1
1
<?php
2
3
/**
4
 * This software package is licensed under `AGPL, Commercial` license[s].
5
 *
6
 * @package maslosoft/zamm
7
 * @license AGPL, Commercial
8
 *
9
 * @copyright Copyright (c) Peter Maselkowski <[email protected]>
10
 * @link https://maslosoft.com/zamm/
11
 */
12
13
namespace Maslosoft\Zamm\Commands;
14
15
use Symfony\Component\Console\Input\InputInterface;
16
use Symfony\Component\Console\Output\OutputInterface;
17
18
/**
19
 * SingleCommand
20
 *
21
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
22
 */
23
class SingleCommand extends BaseCommand
24
{
25
26
	protected function configure()
27
	{
28
		parent::configure();
29
		$this->setName("doc:make");
30
		$this->setDescription("Convert documentation");
31
		$this->setHelp(<<<EOT
32
The <info>doc:make</info> command convert one or more directories or files
33
EOT
34
		);
35
	}
36
37
	protected function execute(InputInterface $input, OutputInterface $output)
38
	{
39
//		$zamm = new \Maslosoft\Zamm\Zamm();
40
//		(new \Maslosoft\Zamm\File\Applier($input, $output))->apply();
41
	}
42
43
}
44