Greptile is a Command Line Interface (CLI) that enables developers to search and understand complex codebases in English. Learn more at greptile.com.
-
Install greptile via
npm
:npm install -g greptile greptile addPath
This ensures Greptile is in your system's PATH for global usage. Without the addPath command, you will not be able to use the CLI tool..
-
Authenticate with GitHub:
greptile auth
-
Add repositories to the chat session:
greptile add [repo link or owner/repo]
- For example:
greptile add https://github.com/facebook/react
- or
greptile add facebook/react
You can add up to 10 repositories to the session.
-
Begin!
greptile start
This launches a shell allowing you to ask questions to Greptile's AI with full context of the provided repositories.
If you have any questions or comments, email us at [email protected].
You can run Greptile using the following commands:
To authenticate with GitHub, use the following command:
greptile auth
To add a repository to the session, use the following command:
greptile add <repository_link or owner/repo>
Replace <repository_link>
with the GitHub repository URL or <owner/repo>
with the owner and repository name.
To list repositories in the current session, use the following command:
greptile list
To remove a repository from the session, use the following command:
greptile remove <repository_link or owner/repo>
Replace <repository_link>
with the GitHub repository URL or <owner/repo>
with the owner and repository name.
To start the Greptile application and interact with the repositories, use the following command:
greptile start
Follow the prompts to ask questions and retrieve information from the added repositories.
To display help information, use the following command:
greptile help
Feel free to explore and interact with Greptile to manage your repositories efficiently!
This version focuses on the essential information and improves the overall organization.