-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcli.php
More file actions
27 lines (20 loc) · 698 Bytes
/
Copy pathcli.php
File metadata and controls
27 lines (20 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
require_once 'lib/Stio.h.php';
require_once 'lib/DependenciesValidation.h.php';
require_once 'lib/ProjectManager.h.php';
use lib\Stio;
use lib\DependenciesValidation;
use lib\ProjectManager;
Stio::showMessage('Multi repository cli init');
Stio::showMessage('WELCOME TO SOLIDJOBS CLI ASSISTANT', Stio::MESSAGE_TYPE_SUCCESS);
/**
* Check dependencies
*/
Stio::showMessage('Checking dependencies...');
DependenciesValidation::checkAll();
/**
* Installing projects
*/
Stio::showMessage('Installing public repositories...', Stio::MESSAGE_TYPE_INFO);
$projectManager = ProjectManager::getInstanceFromProjectData(Stio::getInstance()->getData());
$projectManager->installPublicProjects();