Download tabler-react/scripts/runflow from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/scripts/runflow
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/scripts/runflow
-
curl -L -o runflow https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/scripts/runflow
420 Bytes
| flow version > /dev/null 2>&1 | |
| uses_global_flow=$? | |
| yarn flow version > /dev/null 2>&1 | |
| uses_yarn=$? | |
| npm run flow version > /dev/null 2>&1 | |
| uses_npm=$? | |
| if [ $uses_global_flow -eq 0 ]; then | |
| flow | |
| elif [ $uses_yarn -eq 0 ]; then | |
| yarn flow | |
| elif [ $uses_npm -eq 0 ]; then | |
| npm run flow | |
| else | |
| echo "Error! Neither yarn nor npm provide flow. Consider running yarn install or npm install" | |
| exit 1 | |
| fi | |