diff --git a/src/ncc/CLI/Main.php b/src/ncc/CLI/Main.php index 3711509..0c08337 100644 --- a/src/ncc/CLI/Main.php +++ b/src/ncc/CLI/Main.php @@ -129,6 +129,11 @@ Console::outWarning('This is an unstable build of ncc, expect some features to not work as expected'); } + if(in_array(NccBuildFlags::BETA, NCC_VERSION_FLAGS, true)) + { + Console::outWarning('This is a beta build of ncc, expect some features to not work as expected'); + } + if(isset(self::$args['version'])) { self::displayVersion(); diff --git a/src/ncc/Enums/Flags/NccBuildFlags.php b/src/ncc/Enums/Flags/NccBuildFlags.php index 4f4fa15..9a7e869 100644 --- a/src/ncc/Enums/Flags/NccBuildFlags.php +++ b/src/ncc/Enums/Flags/NccBuildFlags.php @@ -29,4 +29,9 @@ * and can cause errors */ public const UNSTABLE = 'unstable'; + + /** + * Indicates if the build is currently in beta testing phase + */ + public const BETA = 'beta'; } \ No newline at end of file