File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,26 @@ if [ $# -eq 0 ]; then
4545 usage
4646fi
4747
48+ # Check for required tools
49+ if ! command -v lychee & > /dev/null; then
50+ echo -e " ${RED} Error: lychee is not installed or not in PATH${NC} "
51+ echo " Please install lychee: https://github.com/lycheeverse/lychee"
52+ exit 1
53+ fi
54+
55+ if ! command -v jupyter & > /dev/null; then
56+ echo -e " ${RED} Error: jupyter is not installed or not in PATH${NC} "
57+ echo " Please install jupyter: pip install jupyter nbconvert"
58+ exit 1
59+ fi
60+
61+ # Verify jupyter nbconvert is available
62+ if ! jupyter nbconvert --version & > /dev/null; then
63+ echo -e " ${RED} Error: jupyter nbconvert is not available${NC} "
64+ echo " Please install nbconvert: pip install nbconvert"
65+ exit 1
66+ fi
67+
4868TARGET_PATH=" $1 "
4969
5070# Get absolute paths
You can’t perform that action at this time.
0 commit comments