Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalyd authored Feb 7, 2024
1 parent 227415b commit 415ec96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ cricCLI/

### Build
```
go build ./cmd/main
go build -o crickCLI cmd/main/main.go
```

### Run
If using for the first time, you need to set a match ID first, which can be found [here](https://github.com/prajjwalyd/crickCLI/blob/main/docs/matchID.md).

```
./main edit
./crickCLI edit
```

After setting the match ID once, you can edit it anytime using the same commands.

To see the live score:
```
./main
./crickCLI
```

This command will fetch and display the live score of the set match ID.

### Run Without Build
```
go run cmd/main/main.go
```
```

0 comments on commit 415ec96

Please sign in to comment.