The following examples showcase how to use the github-echo
tool. Each command demonstrates different options and outputs.
- Getting Help
- Version Information
- Configuration Management
- Analyzing GitHub Repositories
- Customizing Configurations
- Adjusting Parameters
- Author
Running the following command displays the help menu:
gh-echo
To explicitly access the help menu, use:
gh-echo --help
To view the help menu for a specific command, such as analyze
, use:
gh-echo analyze --help
Use one of the following commands to see the current version of the tool:
gh-echo --version
# OR
gh-echo -v
To generate a default configuration file:
gh-echo init
The generated configuration file will look similar to this:
To delete the configuration file:
gh-echo remove-config
To analyze a GitHub repository:
gh-echo analyze https://github.com/AryanK1511/github-echo
To redirect the analysis output to a file:
gh-echo analyze https://github.com/AryanK1511/github-echo -o output.md
The markdown output will look like this:
Adjust the settings in the configuration file as needed. For example:
By modifying the configuration, you can disable token usage information in the output:
Alternatively, enable it using the --show-token-usage
flag:
gh-echo analyze https://github.com/AryanK1511/github-echo --show-token-usage
Modify the model temperature for the analysis using:
gh-echo analyze https://github.com/AryanK1511/github-echo -o output.md -t 1
# OR
gh-echo analyze https://github.com/AryanK1511/github-echo -o output.md --model-temperature 1
Specify a different model for analysis using:
gh-echo analyze https://github.com/AryanK1511/PiZone -o output.md -t 1 -m groq
# OR
gh-echo analyze https://github.com/AryanK1511/PiZone -o output.md -t 1 --model groq