Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.47 KB

README.md

File metadata and controls

66 lines (42 loc) · 1.47 KB

Example Commands

Display Help

# Can run this...
gr-ai

# This...
gr-ai -h

# Or this
gr-ai --help

help

NOTE: there is always going to be a shorthand version of a flag/option. The subsequent examples will prefer the shorthand flags when writing commands.

Show version

gr-ai -v

version

Make a .gimme_readme_config file / find its location

# Makes a .gimme_readme_config file if it's not there already
# Or, helps you find the path to your existing .gimme_readme_config file
gr-ai -c

Creates a config file if it doesn't exist already:

create-config

Locates the config file if it does exist:

find-config-file

Explain a file, output the result to a specific file, and set the temperature for the model

gr-ai -m gemini-1.5-flash -f tests/unit/_gr.test.js -o explanation.md -t 0.1

explain-file

Use the text from a custom prompt file, and send files within a particular folder

gr-ai -pf prompt.md -f src/ -o explain.md

send-a-prompt-file-and-folder

Make a prompt directly from the command-line

gr-ai -p "Can you provide your best explanation of a static analysis tool, with examples in JavaScript?" -o explanation.md

prompt-from-command-line