docs

Log | Files | Refs | Activity

root / src / githrun / cli-find-download.md

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).
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror