Download goalert/devtools/runproc/task.go from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/devtools/runproc/task.go
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/devtools/runproc/task.go
-
curl -L -o task.go https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/devtools/runproc/task.go
361 Bytes
| package main | |
| type Task struct { | |
| // Name used in logs | |
| Name string | |
| // Command is the primary command to run. | |
| Command string | |
| // WatchFiles will cause the process to restart if any if the files change (can be patterns). | |
| WatchFiles []string | |
| // OneShot indicates that the process should run and then exit. | |
| // | |
| // Useful for running tests. | |
| OneShot bool | |
| } | |