cli-find-download.md (797B)
1 --- 2 label: CLI - Find & Download 3 order: 670 4 --- 5 6 # Find & Search 7 8 Search for files inside a remote repository without cloning it. 9 10 ```bash 11 # Search for files containing "config" 12 githrun find https://github.com/user/repo "config" 13 ``` 14 15 This command is interactive — you can select a result number to run it immediately. 16 17 # Download Files & Folders 18 19 ## Download a single file 20 21 ```bash 22 githrun download https://github.com/user/repo/blob/main/script.py 23 ``` 24 25 ## Download a specific folder (recursive) 26 27 ```bash 28 githrun download https://github.com/user/repo/tree/main/src/utils --output ./local_utils 29 ``` 30 31 # Show Folder Contents 32 33 List files in a remote directory to understand the structure: 34 35 ```bash 36 githrun show https://github.com/user/repo/tree/main/src 37 ``` 38 39 Continue to [Python API](python-api.md).