<commit_before>import { RunContext } from './run-context'

export interface GluegunCommand<TContext extends RunContext = RunContext> {
  /** The name of your command */
  name?: string
  /** A tweet-sized summary of your command */
  description?: string
  /** The function for running your command, can be async */
  run: (context: TContext) => void
  /** Should your command be shown in the listings  */
  hidden?: boolean
  commandPath?: string[]
  /** Potential other names for this command */
  alias?: string | string[]
  /** Lets you run the command as a dashed command, like `--version` or `-v`. */
  dashed?: boolean
}

/**
 * A command is user-callable function that runs stuff.
 */
export class Command implements GluegunCommand<RunContext> {
  public name
  public description
  public file
  public run
  public hidden
  public commandPath
  public alias
  public dashed

  constructor() {
    this.name = null
    this.description = null
    this.file = null
    this.run = null
    this.hidden = false
    this.commandPath = null
    this.alias = []
    this.dashed = false
  }<commit_msg>Updates GluegunCommand type<commit_after>import { RunContext } from './run-context'

export interface GluegunCommand<TContext extends RunContext = RunContext> {
  /** The name of your command */
  name?: string
  /** A tweet-sized summary of your command */
  description?: string
  /** The function for running your command, can be async */
  run: (context: TContext) => void
  /** Should your command be shown in the listings  */
  hidden?: boolean
  /** The command path, an array that describes how to get to this command */
  commandPath?: string[]
  /** Potential other names for this command */
  alias?: string | string[]
  /** Lets you run the command as a dashed command, like `--version` or `-v`. */
  dashed?: boolean
  /** The path to the file name for this command. */
  file?: string
}

/**
 * A command is user-callable function that runs stuff.
 */
export class Command implements GluegunCommand<RunContext> {
  public name
  public description
  public file
  public run
  public hidden
  public commandPath
  public alias
  public dashed

  constructor() {
    this.name = null
    this.description = null
    this.file = null
    this.run = null
    this.hidden = false
    this.commandPath = null
    this.alias = []
    this.dashed = false
  }
{'fraction_non_alphanumeric': 0.10046433094132545, 'fraction_numerical': 0.0, 'mean_word_length': 3.1003460207612457, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4379466', 'n_tokens_mistral': 656, 'n_tokens_neox': 644, 'n_words': 264}