<commit_before>#!/bin/bash
blue='\e[0;34m'
reset='\e[0m'
function run() {
    echo -ne "${blue}shipyard> ${reset}"
    read CMD
    shipyard-cli $CMD
}

function kill() {
    echo ""
    echo -n "Quit? (y/n): "
    read QUIT
    if [ "$QUIT" = "y" ]; then
        exit 0
    else
        echo -ne "${blue}shipyard> ${reset}"
    fi
}

trap kill SIGINT

while true
do
    run
done<commit_msg>minor update to cli wrapper allowing named envs<commit_after>#!/bin/bash
blue='\e[0;34m'
reset='\e[0m'
if [ ! -z "$NAME" ]; then
    NAME="-$NAME"
fi
function run() {
    echo -ne "${blue}shipyard$NAME> ${reset}"
    read CMD
    shipyard-cli $CMD
}

function kill() {
    echo ""
    echo -n "Quit? (y/n): "
    read QUIT
    if [ "$QUIT" = "y" ]; then
        exit 0
    else
        echo -ne "${blue}shipyard$NAME> ${reset}"
    fi
}

trap kill SIGINT

while true
do
    run
done
{'fraction_non_alphanumeric': 0.1706758304696449, 'fraction_numerical': 0.011454753722794959, 'mean_word_length': 2.3745173745173744, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7673335', 'n_tokens_mistral': 356, 'n_tokens_neox': 341, 'n_words': 96}