aider/scripts
Paul Gauthier 47346af823 aider: Set ARG based on the presence of a command line argument.
# Aider chat conversation:

USER: if no cmd line arg, set ARG=-r otherwise set ARG=$1

ASSISTANT: Here is the required change to set `ARG` based on the presence of a command line argument:

scripts/update-docs.sh
```bash
<<<<<<< SEARCH
# exit when any command fails
set -e

cog $ARG website/index.md
cog $ARG website/docs/usage.md
=======
# exit when any command fails
set -e

if [ -z "$1" ]; then
  ARG=-r
else
  ARG=$1
fi

cog $ARG website/index.md
cog $ARG website/docs/usage.md
>>>>>>> REPLACE
```
2024-06-05 19:57:19 -07:00
..
blame.py copy 2024-05-24 10:28:30 -07:00
Dockerfile.jekyll removed source:, added repository: 2024-06-05 15:04:17 -07:00
jekyll_build.sh renamed dockerfile 2024-05-15 11:29:34 -07:00
jekyll_run.sh removed source:, added repository: 2024-06-05 15:04:17 -07:00
update-docs.sh aider: Set ARG based on the presence of a command line argument. 2024-06-05 19:57:19 -07:00
versionbump.py aider: Add logic to compare commit dates of main and origin/main and print a message explaining which one is behind. 2023-11-17 15:50:37 -08:00