<commit_before>#!/usr/bin/env python3
"""Information overview for command line tools.

Usage:
  nani <command>
  nani -h | --help
  nani --version

Options:
  -h, --help  Print this message and exit.
  --version   Print version info and exit.
"""

from docopt import docopt
import subprocess

if __name__ == '__main__':
    arguments = docopt(__doc__, version='nani 0.2.0')
    subprocess.call(['which', arguments['<command>']])<commit_msg>Call type instead of which<commit_after>#!/usr/bin/env python3
"""Information overview for command line tools.

Usage:
  nani <command>
  nani -h | --help
  nani --version

Options:
  -h, --help  Print this message and exit.
  --version   Print version info and exit.
"""

from docopt import docopt
import sys
import subprocess

if __name__ == '__main__':
    arguments = docopt(__doc__, version='nani 0.3.0')
    ret = subprocess.call(['type', arguments['<command>']])
    sys.exit(ret)
{'fraction_non_alphanumeric': 0.13592233009708737, 'fraction_numerical': 0.008629989212513484, 'mean_word_length': 3.663316582914573, 'pattern_counts': {'":': 0, '<': 7, '<?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': '384557', 'n_tokens_mistral': 306, 'n_tokens_neox': 301, 'n_words': 97}