diff --git a/application/Espo/Core/Console/Commands/Version.php b/application/Espo/Core/Console/Commands/Version.php new file mode 100644 index 0000000000..54f81a1f53 --- /dev/null +++ b/application/Espo/Core/Console/Commands/Version.php @@ -0,0 +1,44 @@ +getContainer()->get('config')->get('version'); + + if (is_null($version)) { + return; + } + + echo $version . "\n"; + } +}