Skip to content

Commit

Permalink
more readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lang committed Dec 10, 2023
1 parent 849fccf commit f722970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ The bulk of the code is generated from yaml files found in the `./spec` director
## CLI

```bash
go install github.com/ryan-lang/noaa-tidesandcurrents
go install github.com/ryan-lang/noaa-tidesandcurrents/cmd/noaatc@latest

noaatc getData predictions --station-id 9447130 --begin yesterday --hours 24 --interval 60 --units feet
noaatc getData predictions --station-id 9447130 --begin yesterday --hours 24 --interval 60 --units english

noaatc getMetadata harcon --station-id 9447130
```
Expand Down
4 changes: 2 additions & 2 deletions generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ func GenerateReadme(def *ClientDefinition) error {
f.WriteString("The bulk of the code is generated from yaml files found in the `./spec` directory, making it quick and easy to keep up with changes to the NOAA APIs.\n\n")
f.WriteString("## CLI\n\n")
f.WriteString("```bash\n")
f.WriteString("go install github.com/ryan-lang/noaa-tidesandcurrents\n\n")
f.WriteString("noaatc getData predictions --station-id 9447130 --begin yesterday --hours 24 --interval 60 --units feet\n\n")
f.WriteString("go install github.com/ryan-lang/noaa-tidesandcurrents/cmd/noaatc@latest\n\n")
f.WriteString("noaatc getData predictions --station-id 9447130 --begin yesterday --hours 24 --interval 60 --units english\n\n")
f.WriteString("noaatc getMetadata harcon --station-id 9447130\n")
f.WriteString("```\n\n")
f.WriteString("## Library\n\n")
Expand Down

0 comments on commit f722970

Please sign in to comment.