Skip to content

Commit

Permalink
fix: change root command back to "gencli" (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradumnasaraf authored Jul 9, 2024
1 parent 4f3ce4d commit 8a94f94
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

**GenCLI** is an AI-powered CLI tool built with Golang that answers your questions using the [Google Gemini API](https://gemini.google.com). It is developed with [Cobra](https://github.com/spf13/cobra) and more.

![GenCLI GIF](https://github.com/Pradumnasaraf/gencli/assets/51878265/f230a612-c51b-45b1-bbab-772110efcaf4)

### 🚀 Getting Started

To get started with GenCLI, you can install it using the following method:
Expand Down Expand Up @@ -40,7 +42,15 @@ The above method sets the API key for the current session only. To set it perman

```bash
Usage:
gencli [your question]
gencli [flags]
gencli [command]

Available Commands:
help Help about any command
search Ask a question and get a response

Flags:
-h, --help help for gencli
```

> eg: gencli how big is google
Expand Down
2 changes: 1 addition & 1 deletion cmd/rootCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

var rootCmd = &cobra.Command{
Use: "gc",
Use: "gencli",
Short: "A CLI tool to interact with the Gemini API",
Run: func(cmd *cobra.Command, args []string) {
err := cmd.Help()
Expand Down

0 comments on commit 8a94f94

Please sign in to comment.