<commit_before><?php
/**
 * Actions on multiple sites
 *
 */
use Terminus\Products;
use Terminus\Session;
use Terminus\SiteFactory;
use Terminus\Auth;
use Terminus\Helpers\Input;

class Sites_Command extends Terminus_Command {
  /**
   * Show a list of your sites on Pantheon
   * @package Terminus
   * @version 2.0
   */
  public function __construct() {
    parent::__construct();
    Auth::loggedIn();
  }

  /**
   * Show sites
   *
   * ## OPTIONS
   *
   */
  public function show($args, $assoc_args) {
    $sites = SiteFactory::instance();
    $toReturn = array();
    $toReturn['sites'] = $sites;
    $toReturn['data'] = array();
    foreach($sites as $id => $site) {
      $toReturn['data'][] = array(
        'Site' => $site->information->name,
        'Framwork' => isset($site->information->framework) ? $site->information->framework : '',
        'Service Level' => $site->information->service_level,
        'UUID' => $id<commit_msg>Fix sites show typo<commit_after><?php
/**
 * Actions on multiple sites
 *
 */
use Terminus\Products;
use Terminus\Session;
use Terminus\SiteFactory;
use Terminus\Auth;
use Terminus\Helpers\Input;

class Sites_Command extends Terminus_Command {
  /**
   * Show a list of your sites on Pantheon
   * @package Terminus
   * @version 2.0
   */
  public function __construct() {
    parent::__construct();
    Auth::loggedIn();
  }

  /**
   * Show sites
   *
   * ## OPTIONS
   *
   */
  public function show($args, $assoc_args) {
    $sites = SiteFactory::instance();
    $toReturn = array();
    $toReturn['sites'] = $sites;
    $toReturn['data'] = array();
    foreach($sites as $id => $site) {
      $toReturn['data'][] = array(
        'Site' => $site->information->name,
        'Framework' => isset($site->information->framework) ? $site->information->framework : '',
        'Service Level' => $site->information->service_level,
        'UUID' => $id
{'fraction_non_alphanumeric': 0.16605359957961113, 'fraction_numerical': 0.0021019442984760903, 'mean_word_length': 3.121212121212121, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6237087', 'n_tokens_mistral': 619, 'n_tokens_neox': 604, 'n_words': 136}