Skip to content

Instantly share code, notes, and snippets.

View ccmiller2018's full-sized avatar

Christopher Miller ccmiller2018

View GitHub Profile
@ccmiller2018
ccmiller2018 / chat.sh
Created March 19, 2023 20:13
This gist gives you a great starting place to chat with ChatGPT on the command line
#!/bin/bash
# Check if input string is provided
if [ -z "$1" ]
then
echo "Please provide a string input";
exit 1;
fi
# Tell the user i am thinking