Archived
1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
shbot/shhelp.sh

15 lines
352 B
Bash
Raw Normal View History

#!/bin/bash -ex
case "$1" in
"help") echo "help <TOPIC> : Prints help about TOPIC."
;;
"trains") echo "trains [STATION] : Prints the next trains that will stop at Courbevoie's station."
echo " When provided, only results that concerns STATION are advertised."
;;
*) echo "The following commands are available : help trains"
;;
esac
exit 0