File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ if (file_exists(__DIR__ . "/../../../autoload.php")) {
66 require __DIR__ . "/../vendor/autoload.php " ;
77}
88
9- $ app = new Symfony \Component \Console \Application ("Leaf CLI " , "2.0.0 " );
9+ $ leafCli = json_decode (file_get_contents (dirname (__DIR__ ) . "/composer.json " ));
10+ $ currentVersion = $ leafCli ->version ;
11+
12+ $ app = new Symfony \Component \Console \Application ("Leaf CLI " , $ currentVersion );
1013
1114$ app ->add (new Leaf \Console \CreateCommand );
1215$ app ->add (new Leaf \Console \UpdateCommand );
Original file line number Diff line number Diff line change 22 "name" : " leafs/cli" ,
33 "description" : " A simple command line tool for installing and interacting with your leaf apps" ,
44 "homepage" : " https://leafphp.netlify.com/#/" ,
5- "version" : " v2.0.2 " ,
5+ "version" : " v2.0.3 " ,
66 "keywords" : [
77 " leaf" ,
88 " php" ,
You can’t perform that action at this time.
0 commit comments