<commit_before>fs    = require 'fs'
path  = require 'path'
spark = require 'commander'

commands = require './commands'

# Load our options and parse the command
spark.option('--location <path>', 'choose a file location [~/.sparkfile]', String, '~/.sparkfile')
spark.version require('../package.json').version

spark.command('*')
  .description('Your latest thought... [--location LOCATION] ')
  .action(commands.add)

module.exports.run = (argv) ->
  spark.parse argv<commit_msg>Bring back help output by default<commit_after>fs    = require 'fs'
path  = require 'path'
spark = require 'commander'

commands = require './commands'

# Load our options and parse the command
spark.option('--location <path>', 'choose a file location [~/.sparkfile]', String, '~/.sparkfile')
spark.version require('../package.json').version

spark.command('*')
  .description('Your latest thought... [--location LOCATION] ')
  .action(commands.add)

module.exports.run = (argv) ->
  parsed = spark.parse argv
  spark.outputHelp() unless parsed.args.length
  parsed
{'fraction_non_alphanumeric': 0.16267942583732056, 'fraction_numerical': 0.0, 'mean_word_length': 4.256281407035176, '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': '1301760', 'n_tokens_mistral': 325, 'n_tokens_neox': 311, 'n_words': 91}