#!/usr/bin/env bash
source ~/bin/colors.sh --setup-colors

# Style guide:
#   C_ACCENT - accent color for highlighted text
#   C_CMD    - commands (bold accent)
C_ACCENT="${S_RESET}${C_183}"
C_CMD="${S_RESET}${C_ACCENT}"
C_HEADER="${C_218}${S_BOLD}"
LIGHT_WORDS=("Your kindness" "Your laugh" "The way you help others")
LIGHT_WORD=${LIGHT_WORDS[$RANDOM % ${#LIGHT_WORDS[@]}]}

cat << HELP

${C_HEADER}Helpful Commands${S_RESET}

  ${C_CMD}claude${S_RESET}             Start a conversation with Claude
  ${C_CMD}claude --resume${S_RESET}    Continue a previous conversation
  ${C_CMD}ls${S_RESET}                 List files in current folder
  ${C_CMD}cd ${C_ACCENT}<folder>${S_RESET}        Go into a folder (${C_ACCENT}cd ..${S_RESET} to go back)
  ${C_CMD}mkdir ${C_ACCENT}<name>${S_RESET}       Create a new folder
  ${C_CMD}mv ${C_ACCENT}<old> <new>${S_RESET}     Rename or move a file
  ${C_CMD}micro ${C_ACCENT}<file>${S_RESET}       Basic file text editor

${C_HEADER}Quick Terms${S_RESET}

  ${C_ACCENT}folder/directory${S_RESET}   Same thing - where files live
  ${C_ACCENT}path${S_RESET}               Location of a file, e.g. ${C_117}~/public/myfile.txt${S_RESET}
  ${C_ACCENT}~${S_RESET}                  Your home folder (${C_117}/home/rosy${S_RESET})
  ${C_ACCENT}\$${S_RESET}                  The prompt - type commands after it

${C_HEADER}File Downloads${S_RESET}

  Save files to ${C_117}~/public/${S_RESET} and access them at:
  ${C_117}https://files.shitchell.com/~rosy/${S_RESET}

${C_HEADER}Misc${S_RESET}

  ☸ Claude will load ${C_ACCENT}~/CLAUDE.md${S_RESET} -- store your notes for him there (or ask him to store notes!)
  ☸ You (and claude) have full access to make any changes to the website :)
  ☸ If a command ever gets stuck, ${C_ACCENT}ctrl-c${S_RESET} will usually kill it
  ☸ ${C_ACCENT}^${S_RESET} is often used to represent the "control" key, e.g.: ${C_ACCENT}^S${S_RESET} is ${C_ACCENT}Ctrl-S${S_RESET}
  ☸ ${LIGHT_WORD} fills the world with light

${C_HEADER}Examples${S_RESET}

  ${C_CMD}cd ~/public${S_RESET}              Go to your downloads folder
  ${C_CMD}ls -la${S_RESET}                   List all files with details
  ${C_CMD}mkdir projects${S_RESET}           Create a "projects" folder
  ${C_CMD}mv file.txt ~/public${S_RESET}     Move file.txt to downloads

HELP
