diff --git a/cli/client_dashboard.php b/cli/client_dashboard.php index a7468bd..02e4054 100644 --- a/cli/client_dashboard.php +++ b/cli/client_dashboard.php @@ -127,7 +127,7 @@ class ClientDashboardCli extends CliFramework $name = $repo['name'] ?? ''; if ( - !str_starts_with($name, 'client-waas-') + !str_starts_with($name, 'client-waas-') && !str_starts_with($name, 'client-mokosuite-') || !empty($repo['archived']) ) { continue; @@ -135,7 +135,7 @@ class ClientDashboardCli extends CliFramework $clients[] = [ 'repo' => $repo['full_name'] ?? '', - 'name' => str_replace('client-waas-', '', $name), + 'name' => str_replace(['client-waas-', 'client-mokosuite-'], '', $name), 'description' => $repo['description'] ?? '', 'updated' => $repo['updated_at'] ?? '', 'url' => $repo['html_url'] ?? '', diff --git a/cli/client_inventory.php b/cli/client_inventory.php index 0102baf..e6de097 100644 --- a/cli/client_inventory.php +++ b/cli/client_inventory.php @@ -79,7 +79,7 @@ class ClientInventoryCli extends CliFramework foreach ($repos as $repo) { $repoName = $repo['name'] ?? ''; - if (strpos($repoName, 'client-waas') === false) { + if (strpos($repoName, 'client-waas') === false && strpos($repoName, 'client-mokosuite') === false) { continue; } diff --git a/cli/client_provision.php b/cli/client_provision.php index c4b5a47..1aa2206 100644 --- a/cli/client_provision.php +++ b/cli/client_provision.php @@ -87,7 +87,7 @@ class ClientProvisionCli extends CliFramework return 1; } - $this->repoName = 'client-waas-' . $clientName; + $this->repoName = 'client-mokosuite-' . $clientName; $this->log('INFO', "=== Client Provisioning: {$clientName} ==="); $this->log('INFO', " Org: {$this->org}");