Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Generate new version v3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surgiie committed Dec 27, 2022
1 parent 4fc0e1e commit e9d42d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/Commands/RenderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class RenderCommand extends ConsoleCommand
{--from-yaml=* : A yaml file path to load variable data from. }
{--from-json=* : A json file path to load variable data from. }
{--from-env=* : A .env file to load variable data from. }
{--confirm= : Add a confirmation prompt to this render call. }
{--dry-run : Dump out compiled file contents only. }
{--force : Force render or overwrite files.}';

Expand Down Expand Up @@ -100,6 +101,10 @@ public function handle()
{
$path = $this->data->get('path');

if($this->data->get('confirm') && ! $this->components->confirm($this->data->get('confirm'))){
$this->exit("Aborted");
}

try {
$variables = $this->gatherVariables();
} catch (InvalidArgumentException $e) {
Expand Down
4 changes: 1 addition & 3 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<?php

return 'v3.6.0';
<?php return "v3.7.0";

0 comments on commit e9d42d1

Please sign in to comment.