timbmg commited on
Commit
1db96ea
·
unverified ·
1 Parent(s): f92e88d

Update command syntax in documentation to clarify usage of the --token parameter for GitHub repository ingestion

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -782,8 +782,9 @@ def main():
782
  2. Generate repository text file:
783
  ```bash
784
  gitingest https://github.com/your-username/your-repo \\
785
- --token YOUR_GITHUB_TOKEN \\
786
- -i "*.c,*.cc,*.cpp,*.cu,*.h,*.hpp,*.java,*.jl,*.m,*.matlab,Makefile,*.md,*.pl,*.ps1,*.py,*.r,*.sh,config.txt,*.rs,readme.txt,requirements_dev.txt,requirements-dev.txt,requirements.dev.txt,requirements.txt,*.scala,*.yaml,*.yml" -o repo.txt
 
787
  ```
788
 
789
  **Note**: Modify the file extension list to include the files you want to include in the repository text file. For private repositories, you'll need a GitHub token. For public repositories, you can omit the `--token` parameter.
 
782
  2. Generate repository text file:
783
  ```bash
784
  gitingest https://github.com/your-username/your-repo \\
785
+ -i "*.c,*.cc,*.cpp,*.cu,*.h,*.hpp,*.java,*.jl,*.m,*.matlab,Makefile,*.md,*.pl,*.ps1,*.py,*.r,*.sh,config.txt,*.rs,readme.txt,requirements_dev.txt,requirements-dev.txt,requirements.dev.txt,requirements.txt,*.scala,*.yaml,*.yml" \\
786
+ -o repo.txt \\
787
+ --token YOUR_GITHUB_TOKEN
788
  ```
789
 
790
  **Note**: Modify the file extension list to include the files you want to include in the repository text file. For private repositories, you'll need a GitHub token. For public repositories, you can omit the `--token` parameter.