made start-template and output-dir/-filename configurable

This commit is contained in:
2019-06-04 20:47:26 +02:00
parent 027a81c170
commit 526dd97348
3 changed files with 14 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class GitService
public function getCurrentBranchName(): string
{
if (!$this->isGitRepository()) {
return $this->config->get('docname');
return $this->config->get('output.docname');
}
$output = $this->exec('git branch | grep \\\* | cut -d \' \' -f2');
return $output[0];