<commit_before>function path \
    --description='path' \
    --argument-names command directory

    switch $command
        case list
            # Pretty prints the current paths
            echo fish_user_paths
            list $fish_user_paths
            echo
            echo PATH
            list $PATH
        case add
            if test -z "$directory"
                error "Usage: path add <directory>"
                return 1
            else if test -d "$directory"
                # https://fishshell.com/docs/current/cmds/fish_add_path.html?highlight=fish_add_path
                fish_add_path "$directory"
            else
                error "Directory not found: $directory"
                return 2
            end
        case '*' show
            # Prints the current paths<commit_msg>🔊 Format path output<commit_after>function path \
    --description='path' \
    --argument-names command directory

    switch $command
        case list
            # Pretty prints the current paths
            echo fish_user_paths
            list $fish_user_paths
            echo
            echo PATH
            list $PATH
        case add
            if test -z "$directory"
                error "Usage: path add <directory>"
                return 1
            else if test -d "$directory"
                # https://fishshell.com/docs/current/cmds/fish_add_path.html?highlight=fish_add_path
                fish_add_path --prepend "$directory"
            else
                error "Directory not found: $directory"
                return 2
            end
        case '*' show
            # Prints the current paths
{'fraction_non_alphanumeric': 0.06642291285801341, 'fraction_numerical': 0.002437538086532602, 'mean_word_length': 1.3423680456490727, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5373154', 'n_tokens_mistral': 410, 'n_tokens_neox': 384, 'n_words': 123}