<commit_before>//
//  action.swift
//  overlook
//
//  Created by <NAME> on 9/30/16.
//
//

import Foundation 

public typealias ActionHandler = (_:[String:String]) -> Void

public struct Action {
  public let name:String 
  public let flags:[String]
  public let description:String?
  public let handler:ActionHandler

  public init(name:String, flags:[String], description:String? = nil, handler: @escaping ActionHandler) {
    self.name         = name<commit_msg>updates action handler<commit_after>//
//  action.swift
//  overlook
//
//  Created by <NAME> on 9/30/16.
//
//

import Foundation 

public typealias ActionHandler = ([String:String]) -> Void

public struct Action {
  public let name:String 
  public let flags:[String]
  public let description:String?
  public let handler:ActionHandler

  public init(name:String, flags:[String], description:String? = nil, handler: @escaping ActionHandler) {
    self.name         = name
{'fraction_non_alphanumeric': 0.12034078807241747, 'fraction_numerical': 0.010649627263045794, 'mean_word_length': 3.5410628019323673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7123093', 'n_tokens_mistral': 295, 'n_tokens_neox': 272, 'n_words': 81}