<commit_before>//
//  Command.swift
//  SwiftCLI
//
//  Created by <NAME> on 7/11/14.
//  Copyright (c) 2014 jakeheis. All rights reserved.
//

// MARK: - Routables

public protocol Routable {
    var name: String { get }
    var shortDescription: String { get }
}


// MARK: -

public protocol Command: class, Routable {
    
    //
    // Required:
    //

    /// The name of the command; used to route arguments to commands
    var name: String { get }
    
    /// Executes the command
    ///
    /// - Throws: CLIError if command cannot execute successfully
    func execute() throws

    //
    // Optional:<commit_msg>All Routables must be reference types<commit_after>//
//  Command.swift
//  SwiftCLI
//
//  Created by <NAME> on 7/11/14.
//  Copyright (c) 2014 jakeheis. All rights reserved.
//

// MARK: - Routables

public protocol Routable: class {
    var name: String { get }
    var shortDescription: String { get }
}


// MARK: -

public protocol Command: Routable {
    
    //
    // Required:
    //

    /// The name of the command; used to route arguments to commands
    var name: String { get }
    
    /// Executes the command
    ///
    /// - Throws: CLIError if command cannot execute successfully
    func execute() throws

    //
    // Optional:
{'fraction_non_alphanumeric': 0.12206572769953052, 'fraction_numerical': 0.014084507042253521, 'mean_word_length': 1.9470046082949308, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '641719', 'n_tokens_mistral': 418, 'n_tokens_neox': 380, 'n_words': 134}