Completed
Push — master ( 6054f8...3b037a )
by Matthias
24:24
created

Help   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 7 1
1
<?php
2
3
namespace Cauditor\Runners;
4
5
/**
6
 * @author Matthias Mullie <[email protected]>
7
 * @copyright Copyright (c) 2016, Matthias Mullie. All rights reserved.
8
 * @license LICENSE MIT
9
 */
10
class Help implements RunnerInterface
11
{
12
    public function execute()
13
    {
14
        echo "Usage: cauditor [-ah] [path]\n\n",
15
            "  --all           Analyzes all missing commits (instead of only the current).\n",
16
            "  --help          Prints this help message.\n",
17
            "  --path=<dir>    Analyze a specific directory (instead of pwd).\n";
18
    }
19
}
20